benilla-re systems structs docs

CheckInteractDistance

Lua global function

Function
Script::CheckInteractDistance ui
Meaning
Pushes 1 when the unit is within the range of the given index 1 to 4, else nil verified, proof one
Registered in
global table s_gameScriptFunctions ui
Registrar pair
0x83e290
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 4