trigger_bomb_reset

From Valve Developer Community
Jump to: navigation, search

trigger_bomb_reset is a brush entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

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 Source 2007)
Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
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 Multiplayer(Team Fortress 2))
Disables this trigger and calls EndTouch on all currently-touching entities.


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.pngWarning: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.
OnTouching  (in all games since Source 2007)
Fired if something is currently touching this trigger when TouchTest is fired.
OnNotTouching  (in all games since Source 2007)
Fired if nothing is currently touching this trigger when TouchTest is fired.