PhaseTransition ​
Inherits: Resource
Defines transition conditions for a boss phase using existing EntityCondition system
Properties ​
Array[EntityCondition] | conditions | [] |
LogicOperator | logic_operator | LogicOperator.OR |
Variables ​
Entity | entity | |
ModularCombatScript | combat_script |
Methods ​
void | setup( system_hub: GameHost.SystemHub, entity_ref: Entity, script: ModularCombatScript ) |
bool | should_transition() |
void | cleanup() |
Enumerations ​
enum LogicOperator ​
The options of logic operator: and, or.
- AND =
0- All conditions must be met - OR =
1- Any condition can trigger transition
Property descriptions ​
Transition Settings
Array[EntityCondition] conditions = [] ​
All conditions that must be evaluated for this transition
LogicOperator logic_operator = LogicOperator.OR ​
How multiple conditions are combined (AND = all must be true, OR = any can be true)
Variable descriptions ​
Entity entity ​
Reference to the entity
ModularCombatScript combat_script ​
Reference to the combat script
Method descriptions ​
void setup( system_hub: GameHost.SystemHub, entity_ref: Entity, script: ModularCombatScript ) ​
Setup the transition
bool should_transition() ​
Evaluate if this transition should trigger
void cleanup() ​
Cleanup