benilla-re systems structs docs

UnitIsEnemy

Lua global function

Function
Script::UnitIsEnemy ui
Meaning
Returns 1 when one unit is hostile to another verified, proof one
Registered in
global table s_unitFunctions ui
Registrar pair
0x8504b0
Arguments
2 exact
Returns
1 values 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 1