Lua GenericObject InRange

Parameters

 * (t, range, ignoreZ)


 * t
 * Vector3 or LuaGenericObject - Object/position to check against.


 * range
 * float - Range from the object.


 * ignoreZ
 * bool - Should the Z axis be ignored in this check?

Details

 * type
 * bool


 * state
 * True if the object is within the specified range.