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
No edit summary
No edit summary
 
(24 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{wrongtitle|title=logic_navigation}}
{{Underlinked|date=January 2024}}
==Entity Description==
{{LanguageBar}}
'''Entity Name:''' logic_navigation
{{CD|CLogicNavigation|file1=logic_navigation.cpp}}
{{this is a|logical 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.


An entity that 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|Due to some irregularities in the base [[FGD]], this entity's keys are best used with [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] off.}}
 
* Due to some irregularities in the base [[FGD]], this entity's keys are best used with [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] off.


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


==Flags==
==Flags==
 
{{fl|1|Start On}}
* 1 : Start On


==Inputs==
==Inputs==
 
{{I|TurnOn|Turn on. The Navigation Entity will have its navigation properties set.}}
* {{i targetname}}
{{I|TurnOff|Turn off. The Navigation Entity will have its navigation properties returned to the default settings.}}
 
{{I|Toggle|Toggle on/off.}}
* '''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.
 
==Outputs==
 
* {{o targetname}}
 
[[Category:Entities]]

Latest revision as of 04:56, 29 April 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 logical 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.