setWindStr: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Replace note by argument description)
Line 14: Line 14:
|p1= time: [[Number]]  |= PARAMETER1  
|p1= time: [[Number]]  |= PARAMETER1  


|p2= value: [[Number]] |= PARAMETER2  
|p2= value: [[Number]] - new value in range 1...0|= PARAMETER2  


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  
Line 42: Line 42:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 15, 2017 - 22:18 (UTC)</dd>
<dt class="note">[[User:daxter154|daxter154]]</dt>
<dd class="note">
Wind strength parameter only supports values between 0 and 1
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 20:27, 16 November 2017

Hover & click on the images for description

Description

Description:
Changes the wind strength smoothly during the given time (in seconds). A time of zero means there will be an immediate change.
Groups:
Uncategorised

Syntax

Syntax:
time setWindStr value
Parameters:
time: Number
value: Number - new value in range 1...0
Return Value:
Nothing

Examples

Example 1:
60 setWindStr 0.8; // set the wind strength to 0.8 gradually over the next 60 seconds

Additional Information

See also:
setWind setWindForce

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

Notes

Bottom Section