Set Integer
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Sets the value of the given integer parameter.
Use this as a way to trigger transitions between Animator states. One way of using Integers instead of Floats or Booleans is to use it for something that has multiple states, for example directions (turn left, turn right etc.). Each direction could correspond to a number instead of having multiple Booleans that have to be reset each time.
To create it, right-click in the editor and select Create Node/Tasks/Animator/Set Integer.
This task node has a number of fields, that are highlighted in picture below.
Name | Description |
---|---|
Node Name | Name of node |
Ignore About Self | Whether node ignores abort self or not |
Parameter Name | Parameter name/ID number |
Value | Parameter value (integer value/Blackboard key) |
You can identify the parameter by name or by ID number, but the name or ID number must be the same as the parameter you want to change in the Animator.