Creating Conditions for Decisions

When Dani AI selects a Decision to execute, it asks all of its Decisions to calculate a score based on their connected observers. The highest Actual Score wins and Dani AI will then execute the decision. When multiple decisions output the same highest score, Dani AI will select a random decision from that set.

Since each observer contains a particular type of information, there is a condition for each type. In Dani AI, there are three basic types that are natively handled:

As long as Observers output one of these types, you don’t need to worry about creating your own Conditions.

To finetune condition values, simply click on the bezier line like any connection, and the condition should appear in the inspector window.

modifying-conditions