Trigger push

Trigger push

Classname: trigger_push
Purpose: Rapid transit.
H2 Code: triggers.hc
When player enter brush, gets up and in horizontal direction specified by angle. (It's good for making repulsor fields, and can be turned off by being targetted.)

Fields

angle Value is a number, horizontal direction player is pushed in.
speed Value is a number, velocity of motion. Not used in maps, but seems to work!
targetname Value is a name, when triggered, the entity does one more push and removes itself (so this is how you turn it off).
spawnflags: 1 - PUSH_ONCE

Note

The code comments refer to an `angles' trigger, but this doesn't seem to work (angles produces straight up motion, with no horizontal component).
Back to the list.