IMyProgrammableBlockTryRun Method |
[This is preliminary documentation and is subject to change.]
Attempts to run this programmable block using the given argument. An already running
programmable block cannot be run again.
This is equivalent to running block.ApplyAction("Run", argumentsList);
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax bool TryRun(
string argument
)
Parameters
- argument
- Type: SystemString
[Missing <param name="argument"/> documentation for "M:Sandbox.ModAPI.Ingame.IMyProgrammableBlock.TryRun(System.String)"]
Return Value
Type:
Booleantrue if the action was applied,
false otherwise
See Also