# Enable/Disable Soundtrack Shuffle
Grammar — cue|Enable/Disable cue shuffle and index|Enable/Disable index suffle for category soundtracks for player group players
Flags —Native
|Action
Enables or disables cue and/or index shuffling for a soundtrack. Index shuffling corresponds to the asset array in the sound data. Cue shuffling corresponds to the array of sounds in each soundtrack data.
# Arguments
playergroup
— Playersint
<preset::SoundtrackCategory> — Categorybool
<preset::Enable_Disable_Option> — Cuebool
<preset::Enable_Disable_Option> — Index
Returns — void
native void SoundtrackSetShuffle(
playergroup players,
int category,
bool cue,
bool index,
);
# Related
Category: Sound / Soundtracks
- Play Soundtrack —
void
— SoundtrackPlay - Pause Soundtrack —
void
— SoundtrackPause - Stop Soundtrack (Current) —
void
— SoundtrackStopCurrent - Stop Soundtrack (Current & Queued) —
void
— SoundtrackStop - Wait For Soundtrack —
void
— SoundtrackWait - Set Default Soundtrack —
void
— SoundtrackDefault - Enable/Disable Soundtrack Continuous —
void
— SoundtrackSetContinuous - Set Soundtrack Delay —
void
— SoundtrackSetDelay - Enable/Disable Soundtrack Shuffle —
void
— SoundtrackSetShuffle
# Examples
— None found —