Arma 3 Scripting

setRainbow

  • Local effect
  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

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

Syntax

time setRainbow value

Parameters:

Returns: Nothing

Examples

Example 1

360 setRainbow 1;

See also

rainbow

Community notes

Benargee

It should be known that this command does not create a rainbow in all conditions. As in real life, the rainbow can only appear after rainfall and opposite of the sun when it is low on the horizon.

Sa-Matra

This command seems to be completely local, no synchronization with other clients, no JIP, nothing, you have to do it all yourself.