Logic navigation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: Automated text replacement (-\{\|\r +{| class=standard-table))
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=logic_navigation}}
{{base point|logic_navigation}}
{{base_point}}


==Entity Description==
==Entity Description==
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.
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.


* Due to some irregularities in the base [[FGD]], this entity's keys are best used with [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] off.
{{Note|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|Navigation Entity|target_destination|Name of the entity to set navigation properties on. }}
* {{KV Targetname}}
{{KV|Nav Property|choices}}
 
:* Ignore : NPCs Ignore this when navigating (they'll bump into it)
* '''target'''
{{KV Targetname}}
: <target_destination> Name of the entity to set navigation properties on.
 
* '''navprop'''
: <choices>
:{| class=standard-table
! Literal Value || Description
|-
| Ignore || NPCs Ignore this when navigating (they'll bump into it)
|}
 
==Flags==


== Flags ==
* 1 : Start On
* 1 : Start On


==Inputs==
== Inputs ==
 
{{IO|TurnOn|Turn on. The Navigation Entity will have its navigation properties set.}}
* {{I Targetname}}
{{IO|TurnOff|Turn off. The Navigation Entity will have its navigation properties returned to the default settings.}}
 
{{IO|Toggle|Toggle on/off.}}
* '''TurnOn'''
{{I Targetname}}
: 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}}
== Outputs ==
{{O Targetname}}

Revision as of 23:36, 8 June 2011

Template:Base point

Entity Description

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