Overview
The Condition & Decision Pack expands BTGraph with reusable behavior tree nodes for evaluating game state and making cleaner AI decisions. It helps developers and designers build smarter agents without writing custom scripts for every common check or branch.
The pack is configurable through the Unity Inspector and BTGraph blackboard, making it suitable for enemies, companions, NPCs, tactical units, stealth guards, RPG characters, survival AI, and simulation agents.
Features
- Reusable condition nodes for common AI checks
- Blackboard value comparisons for flexible decision logic
- Cooldown gates for attacks, abilities, and repeated actions
- Probability-based decision nodes for varied behavior
- Weighted choice support for selecting between actions
- Distance and range-based checks for combat or detection logic
- Health/resource-style conditions for tactical decisions
- Inspector-configurable settings
- Blackboard-driven behavior for designer-friendly tuning
- Works across many genres including combat, stealth, RPG, survival, and simulation projects
Included Nodes
- Has Blackboard Key
- Is Null
- Is Not Null
- Compare Int
- Compare Float
- Compare Bool
- Compare String
- In Range Float
- Approximately Equal Float
- And
- Or
- Not
- Xor
Node Categories
- Blackboard conditions
- Null checks
- Numeric comparisons
- Boolean comparisons
- String comparisons
- Float range checks
- Logic combinators for combining multiple conditions