Func bomb target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(cleanup)
Line 2: Line 2:
{{css brush|func_bomb_target}}
{{css brush|func_bomb_target}}


==Entity Description==
==Entity description==
An invisible brush-based entity used to mark where the bomb can be planted. If a Terrorist is inside the '''func_bomb_target''', then they can plant the bomb.
An invisible brush-based entity used to mark where the bomb can be planted. If a Terrorist is inside the '''func_bomb_target''', then they can plant the bomb.


==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
{{KV Targetname}}
 
==Inputs==
==Inputs==
* {{I Trigger}}
{{I Trigger}}
* '''BombExplode'''
{{IO|BombExplode|Fires when the bomb explodes.|}}
 
==Outputs==
==Outputs==
* {{I Trigger}}
{{I Trigger}}
* '''BombExplode'''
{{IO|BombExplode|Fires when the bomb explodes.|}}
 
[[Category:Counter-Strike: Source Entities]]
[[Category:Counter-Strike: Source Entities]]

Revision as of 12:19, 6 February 2012

Template:Css brush

Entity description

An invisible brush-based entity used to mark where the bomb can be planted. If a Terrorist is inside the func_bomb_target, then they can plant the bomb.

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

Inputs

BaseTrigger
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger
TouchTest  (in all games since Source 2007)
Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
Icon-Bug.pngBug:Sleeping prop_physics will never fire "OnTouching". Also applies to entities using prop_physics as base.  (tested in: Half-Life 2)
StartTouch  (in all games since Source 2007) !FGD
Behave as if the !caller entity had just entered the trigger volume. Accepts non-physical entities.
EndTouch  (in all games since Source 2007) !FGD
Behave as if !caller had just exited the trigger volume.
DisableAndEndTouch  (only in Source 2013 MultiplayerTeam Fortress 2 branch)
Disables this trigger and calls EndTouch on all currently-touching entities.
BombExplode
Fires when the bomb explodes.

Outputs

BaseTrigger
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger
TouchTest  (in all games since Source 2007)
Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
Icon-Bug.pngBug:Sleeping prop_physics will never fire "OnTouching". Also applies to entities using prop_physics as base.  (tested in: Half-Life 2)
StartTouch  (in all games since Source 2007) !FGD
Behave as if the !caller entity had just entered the trigger volume. Accepts non-physical entities.
EndTouch  (in all games since Source 2007) !FGD
Behave as if !caller had just exited the trigger volume.
DisableAndEndTouch  (only in Source 2013 MultiplayerTeam Fortress 2 branch)
Disables this trigger and calls EndTouch on all currently-touching entities.
BombExplode
Fires when the bomb explodes.