Logic navigation: Difference between revisions
Jump to navigation
Jump to search

Note:Due to some irregularities in the base FGD, this entity's keys are best used with SmartEdit off.
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | {{Underlinked|date=January 2024}} | ||
{{LanguageBar}} | |||
{{CD|CLogicNavigation|file1=logic_navigation.cpp}} | |||
{{this is a| | {{this is a|logical entity|name=logic_navigation}} 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|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 Targetname}} | |||
{{KV|Navigation Entity|intn=target|target_destination|Name of the entity to set navigation properties on. }} | {{KV|Navigation Entity|intn=target|target_destination|Name of the entity to set navigation properties on. }} | ||
{{KV|Nav Property|intn=navprop|choices| | {{KV|Nav Property|intn=navprop|choices| | ||
:* Ignore : NPCs Ignore this when navigating (they'll bump into it)}} | :* Ignore : NPCs Ignore this when navigating (they'll bump into it)}} | ||
==Flags== | ==Flags== | ||
| Line 16: | Line 16: | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|TurnOn|Turn on. The Navigation Entity will have its navigation properties set.}} | ||
{{ | {{I|TurnOff|Turn off. The Navigation Entity will have its navigation properties returned to the default settings.}} | ||
{{ | {{I|Toggle|Toggle on/off.}} | ||
Latest revision as of 03:56, 29 April 2025
This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024
January 2024
| CLogicNavigation |
logic_navigation is a logical entity available in all
Source games. 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.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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)
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.