setWaves: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
m (Text replacement - "[[Image:" to "[[File:")
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


|gr1= Environment
|gr1= Environment


| Changes the waves value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.<br><br>
|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 <tt>Manual Override</tt> option is selected in the editor in the Intel, which is normally off.<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]]
[[File:setWaves.jpg|left|600px]]


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


|p1= time: [[Number]]
|p1= time: [[Number]]
Line 20: Line 19:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|x2= <code>0 [[setWaves]] 1;
|x2= <sqf>0 setWaves 1;</sqf>
</code>


|seealso= [[waves]], [[fog]], [[overcast]], [[setLightnings]]
|seealso= [[waves]] [[fog]] [[overcast]] [[setLightnings]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

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