Arma 3 Scripting

Command in Environment

setLightnings

Also available as Markdown and JSON, or read the original wiki page.

Description

Changes the lightnings 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 lightnings changes) unless Manual Override option is selected in the editor in the Intel, which is normally off.

Syntax

time setLightnings value

Parameters:

Returns: Nothing

Examples

Example 1

1800 setLightnings 0.7;

See also

lightnings · overcast · setWaves