UnitRace
Lua global function
- Function
- Script::UnitRace ui
- Meaning
- Pushes the localised race name and file token of a unit, or two nils verified, proof one
- Registered in
- global table s_unitFunctions ui
- Registrar pair
- 0x850580
- Arguments
- 1 exact
- Returns
2values exact, kinds(nil,nil) | (string?,string?)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
- The four readers in ui: the player token before the player object
- Race and class of other units in ui: the player token before the player object