setGusts: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
No edit summary |
||
Line 21: | Line 21: | ||
|seealso= [[gusts]] [[wind]] [[setWind]] | |seealso= [[gusts]] [[wind]] [[setWind]] | ||
}} | |||
{{Note | |||
|user= samatra | |||
|timestamp= 20220706041709 | |||
|text= Unlike most of weather commands, this one does not set gusts instantly but on next frame. | |||
<sqf> | |||
// Assuming gusts = 0 here | |||
0 setGusts 1; | |||
100 setGusts 1; | |||
// Gusts will still be 0 here and slowly going up to 1 because second command overwritten changes of first one. | |||
</sqf> | |||
}} | }} |
Revision as of 05:17, 6 July 2022
Description
- Description:
- Changes the gusts value smoothly during the given time (in seconds). A time of zero means there will be an immediate change. Value is 0 to 1.
- Groups:
- Environment
Syntax
Examples
- Example 1:
- 60 setGusts 0.75;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Jul 06, 2022 - 04:17 (UTC)
-
Unlike most of weather commands, this one does not set gusts instantly but on next frame.
// Assuming gusts = 0 here 0 setGusts 1; 100 setGusts 1; // Gusts will still be 0 here and slowly going up to 1 because second command overwritten changes of first one.