Garry's Mod Wiki

Revision Difference

navmesh.Find#510657

<function name="Find" parent="navmesh" type="libraryfunc">⤶ <description>Returns a bunch of areas within distance, used to find hiding spots by <page>NextBot</page>s for example.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="pos" type="Vector">The position to search around</arg>⤶ <arg name="radius" type="number">Radius to search within</arg>⤶ <arg name="stepdown" type="number">Maximum stepdown( fall distance ) allowed</arg>⤶ <arg name="stepup" type="number">Maximum stepup( jump height ) allowed</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">A table of <page>CNavArea</page>s</ret>⤶ </rets>⤶ </function>⤶ ⤶