set_scenario_interpolator_state
Maps can define "scenario interpolators," and assets in a map can query the state values of these interpolators. Multiplayer maps have three scenario interpolators defined. The first two are used to control whether the "sound emitter" obejcts available on these maps emit sound. The function of the third is unknown.
Arguments
- which
The index of the scenario interpolator to set.
- state
The state value to set.
Example
-- Make all script-spawned sound emitters play sound.
set_scenario_interpolator_state(1, 1)
set_scenario_interpolator_state(2, 1)