Trigger add tf player condition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tf2 brush|trigger_add_tf_player_condition}} ==Entity description== This entity will give players various conditions within its volume, (Same as "addcond" command but doesn't n...")
 
Line 15: Line 15:


==Inputs==
==Inputs==
{{I Targetname}
{{I Targetname}}
{{I EnableDisable}}
{{I EnableDisable}}
{{I Toggle}}
{{I Toggle}}

Revision as of 04:52, 2 November 2013

Template:Tf2 brush

Entity description

This entity will give players various conditions within its volume, (Same as "addcond" command but doesn't need cheats).

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

Origin:

Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Condition:
Condition (condition) <integer>
Condition to give to the player.

Template:KV Duration


Flags

BaseTrigger
Everything (not including physics debris) : [64]
Clients (Survivors, Special Infected, Tanks Left 4 Dead seriesLeft 4 Dead series) : [1]
Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
Disallow Bots (removed since Left 4 Dead) : [4096]
NPCs (Common Infected, Witches Left 4 Dead seriesLeft 4 Dead series) : [2]
Only player ally NPCs : [16]
Only NPCs in vehicles (respects player ally flag) : [2048]
Physics Objects (not including physics debris) : [8]
Physics debris (include also physics debris) : [1024]
Pushables (Passes entities with classname func_pushable) : [4] Obsolete
Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
Toggle
Toggle the enabled/disabled status of this entity.

Outputs

OnEndTouch Fired when !activator is stops touching it. OnEndTouchAll Fired when all !activator 's stop touching it.