windStr: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(fixed note, added seealso/example)
Line 15: Line 15:




|x1= <code>
|x1= <code>10 [[setWindStr]] (0.5 * [[windStr]]);</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[gusts]], [[wind]] |= SEEALSO  
| [[setWindStr]], [[gusts]], [[setGusts]], [[setWind]], [[setWindDir]], [[setWindForce]], [[wind]], [[windDir]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 39: Line 38:
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]


{{subst:Add new note/construct|
<!-- CONTINUE Notes -->
<!--
<dl class="command_description">
* Replace from here (including the arrow just above)
<dd class="notedate">Posted on September 17, 2014 - 00:07 (UTC)</dd>
 
<dt class="note">[[User:Pierre_MGI|Pierre_MGI]]</dt>
* Please add your note here, replacing these comments
<dd class="note">Compared to "wind" which returns an array in m/s, max "windstr" seems to be 7 m/s, for 100(%) in advanced intel mission editor.
* Please '''PREVIEW YOUR ADDITION BEFORE SAVING'''
Tried on Stratis : 100 (% wind) returns 1 for "windstr" and 7 m/s vector for "wind".
* Thank you
<br>Then, wind seems to be at max strengh for 25 km/h, gusts included.</dd>
 
</dl>
* Equal symbols "=" should be added as "{{subst:=}}" (excluding quotes)
<!-- DISCONTINUE Notes -->
* Pipes "|" should be added as "{{subst:!}}" (excluding quotes)
* New lines should be forced by the use of "<br>" tags
* Examples should be placed between tags <code>_like {{subst:=}} [[_this]];</code>
 
* Replace to here (including the arrow just below)
Compared to "wind" which returns an array in m/s, max "windstr" seems to be 7 m/s, for 100(%) in advanced intel mission editor.
Tried on Stratis : 100 (% wind) returns 1 for "windstr" and 7 m/s vector for "wind"
Then, wind seems to be at max strengh for 25 km/h, gusts included.
}}

Revision as of 09:13, 17 September 2014

Hover & click on the images for description

Description

Description:
Returns the current wind strength.
Groups:
Uncategorised

Syntax

Syntax:
windStr
Return Value:
Number

Examples

Example 1:
10 setWindStr (0.5 * windStr);

Additional Information

See also:
setWindStrgustssetGustssetWindsetWindDirsetWindForcewindwindDir

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

Posted on September 17, 2014 - 00:07 (UTC)
Pierre_MGI
Compared to "wind" which returns an array in m/s, max "windstr" seems to be 7 m/s, for 100(%) in advanced intel mission editor. Tried on Stratis : 100 (% wind) returns 1 for "windstr" and 7 m/s vector for "wind".
Then, wind seems to be at max strengh for 25 km/h, gusts included.