This article's documentation is for anything that uses the Source engine. Click here for more information.

Logic navigation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 1: Line 1:
{{Underlinked|date=January 2024}}
{{Underlinked|date=January 2024}}
 
{{LanguageBar}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CLogicNavigation|file1=logic_navigation.cpp}}
{{CD|CLogicNavigation|file1=logic_navigation.cpp}}
{{this is a|point entity|name=logic_navigation}} It is used to set navigation properties on other entities. Useful to make NPCs ignore physics props in their way that they can easily push.
{{this is a|point entity|name=logic_navigation}} It is used to set navigation properties on other entities. Useful to make NPCs ignore physics props in their way that they can easily push.


Line 7: Line 7:


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|Navigation Entity|intn=target|target_destination|Name of the entity to set navigation properties on. }}
{{KV|Navigation Entity|intn=target|target_destination|Name of the entity to set navigation properties on. }}
{{KV|Nav Property|intn=navprop|choices|
{{KV|Nav Property|intn=navprop|choices|
:* Ignore : NPCs Ignore this when navigating (they'll bump into it)}}
:* Ignore : NPCs Ignore this when navigating (they'll bump into it)}}
{{KV Targetname}}


==Flags==
==Flags==
Line 16: Line 16:


==Inputs==
==Inputs==
{{IO|TurnOn|Turn on. The Navigation Entity will have its navigation properties set.}}
{{I|TurnOn|Turn on. The Navigation Entity will have its navigation properties set.}}
{{IO|TurnOff|Turn off. The Navigation Entity will have its navigation properties returned to the default settings.}}
{{I|TurnOff|Turn off. The Navigation Entity will have its navigation properties returned to the default settings.}}
{{IO|Toggle|Toggle on/off.}}
{{I|Toggle|Toggle on/off.}}

Revision as of 02:16, 18 March 2025

Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
English (en)Translate (Translate)
C++ Class hierarchy
CLogicNavigation
CLogicalEntity
CServerOnlyEntity
CBaseEntity
C++ logic_navigation.cpp

logic_navigation is a point entity available in all Source Source games. It is used to set navigation properties on other entities. Useful to make NPCs ignore physics props in their way that they can easily push.

Note.pngNote:Due to some irregularities in the base FGD, this entity's keys are best used with SmartEdit off.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Navigation Entity (target) <targetname>
Name of the entity to set navigation properties on.
Nav Property (navprop) <choices>
  • Ignore : NPCs Ignore this when navigating (they'll bump into it)

Flags

Start On : [1]

Inputs

TurnOn
Turn on. The Navigation Entity will have its navigation properties set.
TurnOff
Turn off. The Navigation Entity will have its navigation properties returned to the default settings.
Toggle
Toggle on/off.