setWind: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(sets wind vector in m/s, removed misleading note) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set current (forced <nowiki>==</nowiki> false) or permanent (forced <nowiki>==</nowiki> true) wind | | Set current (forced <nowiki>==</nowiki> false) or permanent (forced <nowiki>==</nowiki> true) wind vector. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 14: | ||
|p1= [x, z, forced]: [[Array]] |= PARAMETER1 | |p1= [x, z, forced]: [[Array]] |= PARAMETER1 | ||
|p2= x: [[Number]] |= PARAMETER2 | |p2= x: [[Number]] Easterly component (in m/s, positive = to the east) |= PARAMETER2 | ||
|p3= z: [[Number]] |= PARAMETER3 | |p3= z: [[Number]] Northerly component (in m/s, positive = to the north) |= PARAMETER3 | ||
|p4= forced: [[Boolean]] |= PARAMETER4 | |p4= forced: [[Boolean]] |= PARAMETER4 | ||
Line 23: | Line 23: | ||
|x1= <code>setWind [10,10, true];</code>|= EXAMPLE | |x1= <code>setWind [10, 10, true];</code>|= EXAMPLE | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 38: | Line 38: | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> |
Revision as of 23:42, 13 June 2013
Description
- Description:
- Set current (forced == false) or permanent (forced == true) wind vector.
- Groups:
- Uncategorised
Syntax
- Syntax:
- setWind [x, z, forced]
- Parameters:
- [x, z, forced]: Array
- x: Number Easterly component (in m/s, positive = to the east)
- z: Number Northerly component (in m/s, positive = to the north)
- forced: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
setWind [10, 10, true];
Additional Information
- See also:
- wind
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