Garry's Mod Wiki

Revision Difference

CNavArea:GetSpotEncounters#549829

<function name="GetSpotEncounters" parent="CNavArea" type="classfunc">⤶ <description>⤶ Returns all spots that we would encounter when we move to another navmesh. It seems to be broken currently?⤶ <validate>⤶ How should this be used exactly? It doesn't accept another <page>CNavArea</page> to check with. ⤶ If it is ⤶ [this](https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/server/nav_area.h#L401) ⤶ function, then it should accept another CNavArea if I'm not wrong. ⤶ Please adjust this page if you find out how this function works.⤶ </validate>⤶ </description>⤶ <realm>Server</realm>⤶ <rets>⤶ <ret name="encounters" type="table">A Table containing all spots that you encounter.</ret>⤶ </rets>⤶ </function>