Trigger push: Difference between revisions
Jump to navigation
Jump to search
(Added inputs from p2ce ans csgo) |
m (fixed confirm note on setpushdir input) |
||
Line 17: | Line 17: | ||
==Inputs== | ==Inputs== | ||
{{IO|SetPushDir|Sets the push angle of the trigger. | {{IO|SetPushDir|Sets the push angle of the trigger. {{Confirm|In other games too?}}|since={{csgo}}}} | ||
{{IO|SetSpeed|Sets the push speed. Still takes alternate tick kv into account. |only={{P2CE}}}} | {{IO|SetSpeed|Sets the push speed. Still takes alternate tick kv into account. |only={{P2CE}}}} | ||
{{I Trigger}} | {{I Trigger}} |
Revision as of 23:03, 7 October 2020
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.
- Only Falling Players ([todo internal name (i)]) <boolean> (in all games since
)
- Only affect players if they are falling (and not pressing jump)
- Player fall speed ([todo internal name (i)]) <float> (in all games since
)
- Player must be falling this fast for push to happen
Flags
- 128 : Once Only (possibly means set velocity rather than apply acceleration)
- 256 : Affects Ladders (Half-Life 2)
|
Inputs
- SetPushDir (in all games since
)
- Sets the push angle of the trigger.
Confirm:In other games too?
|
Outputs
|