benilla-re systems structs docs

UnitLevel

Lua global function

Function
Script::UnitLevel ui
Meaning
Pushes the level of a unit: -1 for far hostile or world boss, drunk reduction, roster level verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x850570
Arguments
1 exact
Returns
1 values exact, kinds (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 4