I'm trying to create a script that is simply this:
if connector is unconnected > play soundblock once.
The problem is that it keeps starting to play the sound over and over again if I do it by updatefrequency100.
I didn't find anywhere in the API (https://github.com/malware-dev/MDK-SE/wiki
/SpaceEngineers.Game.ModAPI.Ingame.IMySoundBlock) how to check if whether the "play sound" on the soundblock is true. From looking at it I don't think it can be done.
I guess I should try...
Help creating a basic status checker script
if connector is unconnected > play soundblock once.
The problem is that it keeps starting to play the sound over and over again if I do it by updatefrequency100.
I didn't find anywhere in the API (https://github.com/malware-dev/MDK-SE/wiki
/SpaceEngineers.Game.ModAPI.Ingame.IMySoundBlock) how to check if whether the "play sound" on the soundblock is true. From looking at it I don't think it can be done.
I guess I should try...
Help creating a basic status checker script