/
Set State By Name

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.



Related content

State Machine Behaviour
State Machine Behaviour
More like this
State picker
More like this
State machine
More like this
Randomize behaviour module property (AtomsUnreal)
Randomize behaviour module property (AtomsUnreal)
More like this
Velocity To State
Velocity To State
More like this
Attribute expression
Attribute expression
More like this

Copyright © 2017, Toolchefs LTD.