trigger_bomb_reset
trigger_bomb_reset
is a brush entity available in Counter-Strike: Global Offensive.
Contents
Entity description
This is an invisible trigger entity that teleports dropped C4 entities to the last feet's position of its previous carriers where a carrier had touched the ground while owning the C4.
- If no such position exists for a C4 entity (i.e. if it has no previous carriers or if none of the previous carriers have touched the ground while carrying it), it is teleported to the map's origin,
(0,0,0)
. - To prevent infinite resetting, C4 entities are set asleep when teleported by this entity, so they will float.
- While bunnyhopping, the game does not consider a player to be touching the ground.
It is intended to be used in inaccessible areas where a bomb cannot be retrieved.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Parentname:
- Parent
(parentname)
<targetname> - Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Inputs
BaseTrigger:
Toggle
- Toggles this trigger between enabled and disabled states.
Enable
- Enable trigger
Disable
- Disable trigger
TouchTest
(in all games since )- Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
StartTouch
(in all games since ) !FGD- Behave as if the
!caller
entity had just entered the trigger volume. Accepts non-physical entities.
EndTouch
(in all games since ) !FGD- Behave as if !caller had just exited the trigger volume.
Outputs
BaseTrigger:
OnStartTouch
- Fired when a valid entity starts touching this trigger.
!activator
is whatever touches the trigger.
OnStartTouchAll
- Fired when a valid entity starts touching this trigger, and no other entities are touching it. If there are any other entities touching the trigger when a new one begins to touch, only
OnStartTouch
will fire.
OnEndTouch
- Fired when a valid entity stops touching this trigger.
Warning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.
OnEndTouchAll
- Fired when all valid entities stop touching this trigger.