logic_navigation

From Valve Developer Community

Jump to: navigation, search

This is a point entity available in all Source games.

Contents

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.

  • Due to some irregularities in the base FGD, this entity's keys are best used with SmartEdit off.

Keyvalues

  • Targetname:

Name <string>
The targetname other entities refer to this entity by.
  • 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

  • Targetname:

Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
  • 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

  • Targetname:

OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
OnKilled (New with Left 4 Dead)
Fired when the entity is killed and removed from the game.
Personal tools