benilla-re systems structs docs

UnitName

Lua global function

Function
Script::UnitName ui
Meaning
Pushes a unit's name and realm; for the string player it pushes the selected character's name and nil verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x8504f0
Arguments
at least 2 lower bound
Returns
2 values exact, kinds (nil,nil) | (string?,nil) | (string?,string?) agree
Notes
delegated-push

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