Skip to content

72 — Set ambient rate...

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

Editor data
Numeric ID
72
Engine ID
TACTION_SET_AMBIENT_RATE
Editor name
Set ambient rate...
Need token
NEED_FLOAT
Parameters
  1. Numberfloating-point
Attachment
none
INI example
[Actions]
<TriggerID>=1,72,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 .2 is taken as the whole number 0 and stored as an exact zero, which stops the fade entirely. Any whole number is stored as a fraction too small to fill the wait between steps, so the fade takes a step on every frame instead.
  • 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.