Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.

Documentation Topics
Function

PRActionRunScript()

Creates an action object of type PRActionTypeRunScript. When this action is played by an object, the given script identified by scriptId will be run, optionally passing it up to 8 given arguments.


Declaration

PRActionRunScript(scriptId, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)

Parameters

scriptId

scriptId

arg1 - arg8

Optional arguments that will be given to the script when it's called.

Return Value

The created action object.