Logic navigation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎Keyvalues: fixed TODO)
Line 8: Line 8:
== Keyvalues ==
== Keyvalues ==
{{KV|Navigation Entity|target_destination|Name of the entity to set navigation properties on. }}
{{KV|Navigation Entity|target_destination|Name of the entity to set navigation properties on. }}
{{KV|Nav Property|choices}}
{{KV|Nav Property|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}}
{{KV Targetname}}



Revision as of 19:53, 14 June 2018

Template:Base point

Entity description

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 ([todo internal name (i)]) <targetname>
Name of the entity to set navigation properties on.
Nav Property ([todo internal name (i)]) <[[choices
  • Ignore : NPCs Ignore this when navigating (they'll bump into it)|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

  • 1 : Start On

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.


Outputs