This article's documentation is for anything that uses the Source engine. Click here for more information.

Info node air: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Formatting)
No edit summary
 
(47 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_node_air}}
{{LanguageBar}}
[[File: info_node_air.png | right | 300px]]
{{CD|CNodeEnt|base=CServerOnlyPointEntity|file1=1}}
{{this is a|point entity|name=info_node_air|except=Left 4 Dead series}}


==Entity Description==
'''Entity Name:''' info_node_air


A navigation node for flying NPCs. Air navigation nodes are baked into the nodegraph so that NPCs can move to them. Air nodes do not fall to the ground when they spawn.
It is a [[navigation node]] for [[flying NPCs]].


==Entity Values==
* Air nodes do not fall to the ground when they spawn.
===Keys===
* They must have at least 64 units of empty space above them to be valid.


* '''Name''' ''targetname <target_source>'' 
== Keyvalues ==
: The name that other entities refer to this entity by.
{{KV|NodeHeight|intn=nodeheight|integer|{{confirm|Ensure this much height from the ground?}}}}
{{KV Node}}


* '''Node ID''' ''nodeid <integer>''
== Flags ==
* '''NodeHeight''' ''nodeheight <integer>''
{{Fl Node}}


===Inputs===
* '''Kill'''
: Removes this entity from the world.
* '''KillHierarchy''' 
: Removes this entity and all its children from the world.
* '''AddOutput''' ''<string> <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
* '''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.
===Outputs===
* '''OnUser1'''
: 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.
[[Category:Entities]]
[[Category:AI]]
[[Category:AI]]
[[Category:Node entities]]

Latest revision as of 07:25, 18 September 2024

English (en)Translate (Translate)
Info node air.png
C++ Class hierarchy
CNodeEnt
CServerOnlyPointEntity
CServerOnlyEntity
CBaseEntity
C++ ai_initutils.cpp

info_node_air is a point entity available in all Source Source games except Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series.


It is a navigation node for flying NPCs.

  • Air nodes do not fall to the ground when they spawn.
  • They must have at least 64 units of empty space above them to be valid.

Keyvalues

NodeHeight (nodeheight) <integer>
Confirm:Ensure this much height from the ground?
Node ID (nodeid) <integer>
Read-only internal Hammer value.

Flags