logic_navigation

From Valve Developer Community
Revision as of 07:50, 8 February 2023 by THE OWL (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
CLogicNavigation
CLogicalEntity
CServerOnlyEntity
CBaseEntity
C++ logic_navigation.cpp

Template:Entity 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

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)
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

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.