dod_capture_area
From Valve Developer Community
Contents |
Entity Description
Capture Area Brush Entity
Keyvalues
-
Targetname:
- Name <string>
- The targetname other entities refer to this entity by.
-
EnableDisable:
- Start Disabled
<bool> - Stay dormant until activated (probably with the Enable input).
- area_allies_cancap
- <boolean> Can Allies Cap?
- area_axis_cancap
- <boolean> Can Axis Cap?
- area_allies_numcap
- <integer> Number of Allies to cap
- area_axis_numcap
- <integer> Number of Axis to cap
- area_time_to_cap
- <integer> Time to cap (sec)
- area_cap_point
- <target_destination> Name of the control point this area is linked to
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> -
FireUser1toFireUser4 - Fire the
OnUseroutputs; see User Inputs and Outputs.
EnableDisable:
-
Enable -
Disable - Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
Targetname:
-
OnUser1toOnUser4 - Fired in response to the
FireUserinputs; see User Inputs and Outputs. -
OnKilled(New with Left 4 Dead) - Fired when the entity is killed and removed from the game.
- OnAlliesStartCap
- Sent when Allies start capture
- OnAlliesBreakCap
- Sent when Allies break capture
- OnAlliesEndCap
- Sent when Allies end capture
- OnAxisStartCap
- Sent when Axis start capture
- OnAxisBreakCap
- Sent when Axis break capture
- OnAxisEndCap
- Sent when Axis end capture
- OnStartCap
- Sent when either team starts capture
- OnBreakCap
- Sent when either team break capture
- OnEndCap
- Sent when either team end capture
