Response Flags (CEffectDamage)
Response Flags is a member array of CEffectDamage.
- Response Flags
- Fully-Qualified Name
- bool array
- A set of flags that determines primitive AI responses to damage taken from the damage effect.
- Acquire: The target will attempt to acquire and engage the source of the damage.
- Flee: The target will flee from the source of the damage.
Note: If both flags are set to true, Acquire will take precedence over Flee, meaning that the target will first attempt to engage the damage source, and if and only if that is not possible will it flee. Moreover, these orders will not override any previous orders given to the target. For example, a unit that has been ordered to Hold Position will neither acquire nor flee when damaged by a damage effect with both flags set to true.