This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TryRun
Malware edited this page Dec 25, 2018
·
17 revisions
← Index ← IMyProgrammableBlock
private public virtual 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
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!