benilla-re systems structs docs

UnitSex

Lua global function

Function
Script::UnitSex ui
Meaning
Pushes the sex number of a unit; for the string player it reads the selected character's sex byte verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x850568
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 2