UnitIsCivilian
Lua global function
- Function
- Script::UnitIsCivilian ui
- Meaning
- Pushes 1 when the unit is a civilian, else nil verified, proof one
- Registered in
- global table s_unitFunctions ui
- Registrar pair
- 0x850618
- 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
- Flag predicates in ui: unit presence, flags, classification and type