Set State By Name

This module allows the user to set a state by name.


Attributes

Attributes
Type
Overridable
Description
stateNamestringyesThe state name
setStateOnAgentCreationOnlyboolyesIf on, sets the state on agent creation only
seedintyesSeed random value
stateRandomDelayvector2yesThis attribute accept a range (by default is 0,0).
If you put a range of 5, 20 then every agent will have a random delay between 5 to 20 frames when changing state.
If you want a specific delay without the random, use the same value in both the vector components, i.e. 5,5.



Copyright © 2017, Toolchefs LTD.