Trigger push: Difference between revisions
Jump to navigation
Jump to search
m (→Flags) |
(Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{base brush|trigger_push}} It is a trigger volume that pushes entities that touch it, ''except'' those with a [[parent]]. | ||
{{code class|CTriggerPush|triggers.cpp}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Push Direction (Pitch Yaw Roll)|angle|Angles indicating the direction to push touched entities.}} | |||
{{KV|Speed of Push|integer|The speed at which to push entities away, in inches / second.}} | |||
{{KV|Scale force for alternate ticks|float|If nonzero, scale the force by this amount when running with alternate ticks. This fixes problems with an overly large force due to the longer frametime on when running with sv_alternateticks 1.}} | |||
==Flags== | ==Flags== | ||
* 128 : Once Only | |||
*128 : Once Only | * 256 : Affects Ladders (Half-Life 2) | ||
*256 : Affects Ladders (Half-Life 2) | {{Fl Trigger}} | ||
==Inputs== | ==Inputs== | ||
{{I Trigger}} | |||
==Outputs== | ==Outputs== | ||
{{O Trigger}} | |||
Revision as of 16:28, 28 July 2011
Template:Base brush It is a trigger volume that pushes entities that touch it, except those with a parent.
Keyvalues
- Push Direction (Pitch Yaw Roll) ([todo internal name (i)]) <angle>
- Angles indicating the direction to push touched entities.
- Speed of Push ([todo internal name (i)]) <integer>
- The speed at which to push entities away, in inches / second.
- Scale force for alternate ticks ([todo internal name (i)]) <float>
- If nonzero, scale the force by this amount when running with alternate ticks. This fixes problems with an overly large force due to the longer frametime on when running with sv_alternateticks 1.
Flags
- 128 : Once Only
- 256 : Affects Ladders (Half-Life 2)
|
Inputs
|
Outputs
|