OpenMetaverse Protocol Library Developers API Documentation
RequestSetScriptRunning Method (objectID, scriptID, running)
NamespacesOpenMetaverse InventoryManagerRequestSetScriptRunning(UUID, UUID, Boolean)
Send a request to set the running state of a script contained in a task (primitive) inventory
Declaration Syntax
C#
public
void
RequestSetScriptRunning(

UUID
objectID,

UUID
scriptID,

bool
running
)
Parameters
objectID ( UUID)
The ID of the primitive containing the script
scriptID ( UUID)
The ID of the script
running ( Boolean)
true to set the script running, false to stop a running script
Remarks
To verify the change you can use the RequestGetScriptRunning(UUID, UUID)method combined with the ScriptRunningReplyevent

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)