UnitExists
Lua global function
- Function
- Script::UnitExists ui
- Meaning
- Pushes 1 for a selectable held unit or a roster member, else nil verified, proof one
- Registered in
- global table s_unitFunctions ui
- Registrar pair
- 0x850438
- 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 2
- UnitExists in ui: unit presence, flags, classification and type
- What else answers in the window in ui: the player token before the player object