Func nav stairs toggle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy, intn, see also)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|brush entity|name=func_nav_stairs_toggle|game=Left 4 Dead}} It will add or remove the 'STAIRS' attribute from all [[Navigation Meshes|nav areas]] that overlap the brush.
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}
{{CD|CFuncNavStairsToggle}}
{{this is a|brush entity|name=func_nav_stairs_toggle|game=Left 4 Dead}} It will add or remove the 'STAIRS' attribute from all [[Navigation Meshes|nav areas]] that overlap the brush.


== Keyvalues ==
== Keyvalues ==
{{KV|Initial Setting|choices|}}
{{KV Targetname}}
{{KV|Initial Setting|intn=InitialSetting|choices|}}
:* 0 : Leave Default Value
:* 0 : Leave Default Value
:* 1 : Add Attribute
:* 1 : Add Attribute
:* -1 : Remove Attribute
:* -1 : Remove Attribute
{{KV Targetname}}


== Inputs ==
== Inputs ==
{{IO|AddStairsAttribute|Adds the STAIRS attribute to overlapping nav areas}}
{{IO|AddStairsAttribute|Adds the STAIRS attribute to overlapping nav areas}}
{{IO|RemoveStairsAttribute|Removes the STAIRS attribute from overlapping nav areas}}
{{IO|RemoveStairsAttribute|Removes the STAIRS attribute from overlapping nav areas}}
== See Also ==
* {{ent|func_nav_attribute_region}}

Revision as of 16:21, 27 June 2024

English (en)Translate (Translate)
C++ Class hierarchy
CFuncNavStairsToggle
CBaseEntity

func_nav_stairs_toggle is a brush entity available in Left 4 Dead Left 4 Dead. It will add or remove the 'STAIRS' attribute from all nav areas that overlap the brush.

Keyvalues

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

Initial Setting (InitialSetting) <choices>
  • 0 : Leave Default Value
  • 1 : Add Attribute
  • -1 : Remove Attribute

Inputs

AddStairsAttribute
Adds the STAIRS attribute to overlapping nav areas
RemoveStairsAttribute
Removes the STAIRS attribute from overlapping nav areas

See Also