Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TryRun - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyProgrammableBlock
public bool TryRun(string argument)
Attempts to run this programmable block using the given argument. An already running programmable block cannot be run again. This is equivalent to runningblock.ApplyAction("Run", argumentsList);
This should be called from an ingame script. Do not use in mods.
true
if the action was applied,false
otherwise
- string argument