setWaves: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Image:" to "[[File:")
 
(42 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 0.50
|eff= local


|0.50|= Game version
|gr1= Environment
____________________________________________________________________________________________


| Changes the waves value smoothly during the given time (in seconds). A time of zero means there will be an immediate change. |= Description
|descr= Changes the waves value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.<br><br>
____________________________________________________________________________________________
'''NOTE''': This command will have no effect (even though the value of [[waves]] changes) unless {{hl|Manual Override}} option is selected in the editor in the Intel, which is normally off.<br><br>
[[File:setWaves.jpg|left|600px]]


| time '''setWaves''' value |= Syntax
|s1= time [[setWaves]] value


|p1= time: [[Number]] |= PARAMETER1
|p1= time: [[Number]]


|p2= value: [[Number]] |= PARAMETER2
|p2= value: [[Number]]


| [[Nothing]] |= RETURNVALUE
|r1= [[Nothing]]


|x1= <sqf>180 setWaves .5;</sqf>


|x1= <code>
|x2= <sqf>0 setWaves 1;</sqf>
</code>|= EXAMPLE1


____________________________________________________________________________________________
|seealso= [[waves]] [[fog]] [[overcast]] [[setLightnings]]
 
|  |= SEEALSO
 
|= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:10, 20 November 2023

Hover & click on the images for description

Description

Description:
Changes the waves value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

NOTE: This command will have no effect (even though the value of waves changes) unless Manual Override option is selected in the editor in the Intel, which is normally off.

setWaves.jpg
Groups:
Environment

Syntax

Syntax:
time setWaves value
Parameters:
time: Number
value: Number
Return Value:
Nothing

Examples

Example 1:
180 setWaves .5;
Example 2:
0 setWaves 1;

Additional Information

See also:
waves fog overcast setLightnings

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