Skip to main content

trigger_push

trigger_push icon
Brush entity

A trigger_push is a brush trigger that pushes what touches it in a direction. It fires nothing, so it has no target, delay or kill target, and while its master is locked for the entity that touches it, it doesn't push that entity.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Speed of pushspeed

Sets how hard the trigger pushes, in units per second, in the direction of its angles.

If you leave this key empty or set 0, it is 100.

Default 40
Speed factorFeaturefulSpirit of Half-Lifem_iszPushSpeed

Sets a locus number that multiplies the push. The trigger works it out for each entity that touches it, and *locus and !activator stand for that entity.

Push directionFeaturefulSpirit of Half-Lifem_iszPushVel

Sets the push direction as a locus vector, which the trigger uses instead of its angles. The push is this vector times Speed of push. If the vector gives no value, the trigger doesn't push the entity.

If you leave this key empty, the trigger pushes in the direction of its angles.

Obey Trigger ModeFeaturefulSven Co-opm_iObeyTriggerMode

Sets how triggers switch it.

  • No (0) - Every trigger turns it on or off
  • Yes (1) - On turns it on, Off turns it off and Toggle switches it
Default No (0)

Flags​

1Push Once Only

The trigger gives one push to the first player or object that touches it, and then removes itself

2Start Off

The trigger starts off, and triggering it switches it on and off

8No clientsFeatureful

Players aren't pushed

16No monstersFeatureful

Monsters aren't pushed

Notes​

See also​

Changes since 1.38​