Skip to content
lsl.devlsl.devLSL Dev

Template:LSL Constants/llGetClosestNavPoint

GCNP_RADIUS integer 0 b=[  e= ] s1=id="GCNP_RADIUS" nolink= c=Limits how far out to search for a navigation point.
GCNP_STATIC integer 1 b=[  e= ] s1=id="GCNP_STATIC" nolink= c=Specifies whether the test should use the static or dynamic nav mesh. In the static case, all dynamic obstacles are ignored.
CHARACTER_TYPE integer 6 b=[  e= ] s1=id="CHARACTER_TYPE" nolink= c=Filters nav points by eliminating nav mesh faces which are 0% walkable for the specified character type. In the default CHARACTER_TYPE_NONE case, all nav mesh faces are included.
OptionsV Parameters Default Description
[ float distance ][ 20.0 ]Limits how far out to search for a navigation point.
[ integer use_static_mesh ][ FALSE ]Specifies whether the test should use the static or dynamic nav mesh. In the static case, all dynamic obstacles are ignored.
[ integer type ][ CHARACTER_TYPE_NONE ]Filters nav points by eliminating nav mesh faces which are 0% walkable for the specified character type. In the default CHARACTER_TYPE_NONE case, all nav mesh faces are included.
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.