Revision Difference
NextBot:GetRangeTo#510745
<function name="GetRangeTo" parent="NextBot" type="classfunc">⤶
<description>⤶
Returns the distance to an entity or position.⤶
⤶
See also <page>NextBot:GetRangeSquaredTo</page>.⤶
</description>⤶
<realm>Server</realm>⤶
<file_name>src/garrysmod/Objects/lua_nextbot.cpp</file_name>⤶
<file_line>51</file_line>⤶
<args>⤶
<arg name="to" type="Vector">The position to measure distance to. Can be an entity.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="number">The distance</ret>⤶
</rets>⤶
</function>⤶
⤶