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

PRActionSetVar()

Creates an action object of type PRActionTypeSetVar. When this action is played by an object, that object's instance variable specified by variableName will be changed instantly to the new given value.


Declaration

PRActionSetVar(variableName, value)

Parameters

variableName

The name of the object's instance variable whose value will be changed.

value

The new value to change to.

Return Value

The created action object.