Skip to content

AmbientChangeStep

How far the ambient light moves on each step of a fade, as a fraction of full ambient light.

Specification
Applies to
global rules
File
rules.ini
Section
[AudioVisual]
Value
floating point
When omitted
.1
rules.ini
[AudioVisual]
AmbientChangeStep=.1

The value is multiplied by 100 to give the step in the same hundredths Ambient is stored in, so .1 moves the level by ten hundredths each time. Steps are clamped at the target, so a fade never overshoots and the last step is whatever remains.

Every completed step raises the flag that admits the Ambient light <= … and Ambient light >= … trigger events to that frame’s evaluation, so those events are only ever tested while a fade is actually stepping.

The Set ambient step… trigger action overwrites this value in the loaded rules, and the overwrite outlives the trigger that made it.