The Cooldown node represents a delay before an action can be performed again. This is useful when it is necessary to limit the frequency of using a specific action.
Examples of application:
Selector
├─ Sequence
│ ├─ Cooldown (10 sec)
│ └─ Use "Fireball"
└─ Use "Basic Attack"
Selector
├─ Sequence
| ├─ AuraIsActive HP < 30%
│ ├─ Cooldown (30 sec)
│ └─ Use "Healing Potion"
└─ Use "Basic Attack"
Node operation:
Running
state and starts the countdown.Failure
state, preventing the action from being executed.