AudioSettingsExt

Earlier we saw that settings can be defined in manifest, but these settings can also be specified in scripts:

  Redscript
let ext = new AudioSettingsExt();
ext.fadeIn = LinearTween.Immediate(2.0);

GameInstance
.GetAudioSystemExt(game)
.Play(n"still_dre", GetPlayer(game).GetEntityID(), n"V", scnDialogLineType.Regular, settings);

YouTube demo