Logic navigation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:
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.


==Entity Values==
* Due to some irregularities in the base [[FGD]], this entity's keys are best used with [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] off.
===Keys===


* '''Name''' ''targetname <target_source>'' 
==Keyvalues==
** The name that other entities refer to this entity by.
* '''Navigation Entity''' ''target <target_destination>''
** Name of the entity to set navigation properties on.
* '''Nav Property''' ''navprop <choices>''
** If '''Ignore''', NPCs will ignore this when navigating (they'll bump into it).


* {{targetname}}


===Inputs===
* '''target'''
: <target_destination> Name of the entity to set navigation properties on.


* '''Kill'''
* '''navprop'''
** Removes this entity from the world.
: <choices>
* '''KillHierarchy''' 
{|
** Removes this entity and all its children from the world.
! Literal Value || Description
* '''AddOutput''' ''<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>''
|-
** Adds an entity I/O connection to this entity. Very dangerous, use with care
| Ignore || NPCs Ignore this when navigating (they'll bump into it)
* '''FireUser1'''
|}
** Causes this entity's OnUser1 output to be fired.
* '''FireUser2'''
** Causes this entity's OnUser2 output to be fired.
* '''FireUser3'''
** Causes this entity's OnUser3 output to be fired.
* '''FireUser4'''
** Causes this entity's OnUser4 output to be fired.
* '''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.


==Flags==


===Outputs===
* 1 : Start On


* '''OnUser1'''
==Inputs==
** Fired in response to FireUser1 input.
* '''OnUser2'''
** Fired in response to FireUser2 input.
* '''OnUser3'''
** Fired in response to FireUser3 input.
* '''OnUser4'''
** Fired in response to FireUser4 input.


* {{i targetname}}


===Flags===
* '''TurnOn'''
: Turn on. The Navigation Entity will have its navigation properties set.


* '''Start On''' (Default Checked)
* '''TurnOff'''
** If checked, this entity starts on.
: Turn off. The Navigation Entity will have its navigation properties returned to the default settings.
 
* '''Toggle'''
: Toggle on/off.


==Outputs==


==Additional Info==
* {{o targetname}}
* Due to some irregularities in the base [[FGD]], this entity's keys are best used with [[Hammer_Object_Properties_Dialog#SmartEdit|SmartEdit]] off.


[[Category:Entities]]
[[Category:Entities]]

Revision as of 22:15, 11 July 2005

Template:Wrongtitle

Entity Description

Entity Name: logic_navigation

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 SmartEdit off.

Keyvalues

  • target
<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

  • 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