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
1values 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
- Interaction and inspect ranges in net: server view
- The kernel in ui: distance gates and range checks
- Thresholds in ui: distance gates and range checks
- CheckInteractDistance in ui: distance gates and range checks