Add Condition

Adding a transition condition to a state.

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.

If a certain component is required for the condition, it will be added automatically.

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.

If necessary, we can disable the full set of behaviors at once, for this you need to tick the Mute field:

In this case, the program will simply ignore all the conditions in the behavior set.

Last updated