Add Condition
Adding a transition condition to a state.
Last updated
Was this helpful?
Adding a transition condition to a state.
Last updated
Was this helpful?
To add a transition condition to the state, go to:
NavMesh AI Controller -> Behaviours -> Settings -> Transitions -> Conditions
Then click on the plus sign.
In the drop-down list, select the function we need.
To find out what default conditions are available in Aurora FPS, check out:
And so, we added a condition Health -> Compare
Each condition will have an individual set of parameters, only Mute will be common, which allows you to disable the condition without deleting it.
In our case, the Compare condition requires the AI Health component, which in turn was added to the object on which the NavMesh AI Controller that we are configuring is located.
As a result, you can add as many conditions as you want, if you need it.
In this case, the program will simply ignore all the conditions in the behavior set.