Click or drag to resize
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.Ingame
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0
Syntax
C#
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: Boolean
true if the action was applied, false otherwise
See Also