Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.



Widget Connector
width960
urlhttps://www.youtube.com/watch?v=A8UCGHdKsso
height540