7.19. SetInternalState

set_internal_state ‐ Dynamic modification of the internal state of a node

7.19.1. Attributes

NameTypeDefaults
valueSTRINGNone (required)

7.19.2. Description

This action is used to modify the value of the internal state of a node. Internal states are used to enable or disable triggers associated with script commands. If the attribute values contain parenthesized expressions, they are dynamically evaluated as numerical expressions and their values are replaced in the attribute value strings. The string value of the operator attribute defines the state to assign to the target node.

7.19.3. Expected children

None.

7.19.4. Expected target

Any scene node.

7.19.5. Example

The example below defines an action that sets the target node in the state B_over.

<set_internal_state value="B_over" />