trigger_push
trigger_push
is a brush entity available in all GoldSrc games. It is a trigger volume that pushes entities that touch it.
Key Values
Trigger:
Target:
- Target
(target)
<targetname> - The targetname of an entity this entity will trigger when activated.
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Kill target
(killtarget)
<target_destination|targetname|target_destination> - Remove this entity from the game on activation.
- Target Path
(netname)
<target_destination|targetname|target_destination> (not in ) - Target path.
- Master
(master)
<targetname> - Name of a master entity.
- Sound Style
(sounds)
<choices> -
- 0 : "No Sound"
- Delay before trigger
(delay)
<string> - The time in seconds before the trigger should trigger its target.
- Message (set sound too!)
(message)
<string> - Message to be shown.
- Pitch Yaw Roll (Y Z X)
(angles)
<angle> - This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Speed of push
(speed)
<integer>
TFButtonCriteria:
- 0: Any
- 1: Blue
- 2: Red
- 3: Yellow
- 4: Green
- Targetname of teamcheck goal
(teamcheck)
<string> (only in ) - Player class allowed to activate entity
(playerclass)
<choices> (only in )
- 0: Any
- 1: Scout
- 2: Sniper
- 3: Soldier
- 4: Demolitions man
- 5: Medic
- 6: Heavy Weapons Guy
- 7: Pyro
- 8: Spy
- 9: Engineer
- Has item #
(items_allowed)
<integer> (only in ) - The player must be carrying this item to use this entity.
- Has item from group #
(h_i_g)
<integer> (only in ) - To use this entity, the player must be carrying any item from this group.
- Hasn't item from group #
(hasnt_item_from_group)
<integer> (only in ) - To use this entity, the player must not be carrying any item from this group.
- If item # has moved
(if_item_has_moved)
<integer> (only in ) - A player can only use the entity if this item is not in its original spawn location.
- If item # hasn't moved
(if_item_hasnt_moved)
<integer> (only in ) - A player can only use the entity if this item is in its original spawn location.
- If goal # active
(if_goal_is_active)
<integer> (only in ) - Players can only use the entity if this goal is in the active state.
- If goal # inactive
(if_goal_is_inactive)
<integer> (only in ) - Players can only use the entity if this goal is in the inactive state.
- If goal # removed
(if_goal_is_removed)
<integer> (only in ) - Players can only use the entity if this goal is in the removed state.
- If group # active
(if_group_is_active)
<integer> (only in ) - A player can only use the entity if all the goals in this group are in the active state.
- If group # inactive
(if_group_is_inactive)
<integer> (only in ) - A player can only use the entity if all the goals in this group are in the inactive state.
- If group # removed
(if_group_is_removed)
<integer> (only in ) - A player can only use the entity if all the goals in this group are in the removed state.
Flags
Once Only : [1]
Start Off : [2]
Pushables : [4]