72 — Set ambient rate...
Replaces AmbientChangeRate, the number of minutes between ambient light fade steps, with a value taken from the number's bit pattern.
Editor data
- Numeric ID
72- Engine ID
TACTION_SET_AMBIENT_RATE- Editor name
- Set ambient rate...
- Need token
NEED_FLOAT- Parameters
- Number
floating-point
- Number
- Attachment
- none
INI example
[Actions]
<TriggerID>=1,72,0,<Number>,0,0,0,0,Valid values
- A whole number whose bits are read as a single-precision floating-point rate in minutes. To set a rate, write the whole number with that rate's bit pattern, such as
1045220557for0.2or1065353216for1.
Caveats
- A decimal such as
.2is read as the whole number0and sets the rate to0. The ambient light then stays at its current level until another rate is set. - A small whole number such as
5sets a rate barely above0, so the fade takes a step on every frame. - The new rate applies to every ambient fade, including an ion storm's darkening and recovery.
- A saved game keeps the new rate, and it can carry into later scenarios; see [
AmbientChangeRate](/keys/ambientchangerate/).