Trigger wind: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added internal names)
(-removed wrong info)
Line 13: Line 13:
{{KV|Hold Time|integer|intn=HoldTime|Baseline for how long to wait before changing wind.}}
{{KV|Hold Time|integer|intn=HoldTime|Baseline for how long to wait before changing wind.}}
{{KV|Hold Noise|integer|intn=HoldNoise|Noise added to how long to wait before changing wind.}}
{{KV|Hold Noise|integer|intn=HoldNoise|Noise added to how long to wait before changing wind.}}
{{KV Trigger}}
{{KV Angles}}
{{KV Angles}}
==Flags==
{{Fl Trigger}}
* 4096 : Motion Moveable ({{Not in FGD}})
{{warning|Using Motion Moveable with any other flags checked will cause immediate map load crashes.}}


==Inputs==
==Inputs==
{{IO|SetSpeed|Set the baseline for how hard the wind blows.|param=integer}}
{{IO|SetSpeed|Set the baseline for how hard the wind blows.|param=integer}}
{{I Trigger}}
{{I BaseEntity}}


==Outputs==
==Outputs==
{{O Trigger}}
{{O BaseEntity}}


{{sensor brush}}
{{sensor brush}}

Revision as of 04:37, 13 July 2022

Template:Base brush It is a trigger that pushes physics objects that touch its volume.

C++ In code, it is represented by theCTriggerWindclass, defined in thetriggers.cppfile.

See also

Keyvalues

Speed (speed) <integer>
The baseline for how hard the wind blows.
Speed Noise (SpeedNoise) <integer>
Noise added to wind speed +/-
Direction Noise (DirectionNoise) <integer>
Noise added to wind direction.
Hold Time (HoldTime) <integer>
Baseline for how long to wait before changing wind.
Hold Noise (HoldNoise) <integer>
Noise added to how long to wait before changing wind.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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.

Inputs

SetSpeed <integerRedirectInput/integer>
Set the baseline for how hard the wind blows.


Outputs