Skip to content

71 — Set ambient step...

Overwrites the ambient fade step in the loaded rules with a figure no map file can express.

Editor data
Numeric ID
71
Engine ID
TACTION_SET_AMBIENT_STEP
Editor name
Set ambient step...
Need token
NEED_FLOAT
Parameters
  1. Numberfloating-point
Attachment
none
INI example
[Actions]
<TriggerID>=1,71,0,<Number>,0,0,0,0,

Valid values

  • No usable figure. The number on the line is taken as a whole number and then used as a fraction without being converted, so nothing written produces the value it names.
Caveats
  • A fraction such as .1 is taken as the whole number 0 and stored as an exact zero, and any whole number is stored as a fraction too small to move the light level at all. Either way the fade steps by nothing from then on, so a level the mission asks the light to change to is never arrived at.
  • The overwrite is made on the loaded rules rather than on the scenario, so it outlives the trigger and applies to a storm's darkening as much as to a scripted change.