UnitAffectingCombat
Lua global function
- Function
- Script::UnitAffectingCombat ui
- Meaning
- Returns 1 when the unit's UNIT_FIELD_FLAGS has bit 19 set, else nil verified, proof one
- Registered in
- global table s_unitFunctions ui
- Registrar pair
- 0x850560
- Arguments
- 1 exact
- Returns
1values exact, kinds(nil) | (number)agree
Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.
Cited in 1
- Unit combat flag in ui: standalone bindings