setWaves: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
(22 intermediate revisions by 2 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
|eff= local |Multiplayer Effects=


|gr1= Environment |GROUP1=
|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>
[[Image:setWaves.jpg|left|600px]]


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


| time '''setWaves''' value |SYNTAX=
|p1= time: [[Number]]


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


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


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>180 setWaves .5;</sqf>


|x2= <sqf>0 setWaves 1;</sqf>


|x1= <code>180 [[setWaves]] .5;</code>|EXAMPLE1=
|seealso= [[waves]] [[fog]] [[overcast]] [[setLightnings]]
 
|x2= <code>0 [[setWaves]] 1;
</code>
 
 
| [[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>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 12:04, 13 May 2022

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