# Play Sound Scene File (Deprecated)
Grammar — Play soundLink with file using camera for players
Flags —Native
|Action
|Hidden
WARNING: THIS IS AN OLD FUNCTION AND ONLY REMAINS FOR BACKWARDS COMPATIBILITY WITH WINGS OF LIBERTY CUTSCENES. DO NOT USE THIS FOR NEW CUTSCENES. Plays a sound with the specified scene file for the specified player group. Scene files can be set up using the Previewer module.
# Arguments
soundlink
— Sound Linkplayergroup
— Playersstring
— Filestring
— Camera
Returns — void
native void SoundPlaySceneFile(
soundlink link,
playergroup players,
string sceneFile,
string camera,
);
# Related
Category: Sound / Deprecated
- [F] —
void
— Set Sound Reverb (Deprecated) — ( SoundSetReverb ) - [F] —
void
— Play Sound Scene File (Deprecated) — ( SoundPlaySceneFile ) - [F] —
void
— Play Sound Scene (Deprecated) — ( SoundPlayScene ) - [F] —
void
— Play Sound (Deprecated) — ( SoundPlay ) - [F] —
void
— Play Sound On Unit (Deprecated) — ( SoundPlayOnUnit ) - [F] —
void
— Play Sound At Point (Deprecated) — ( SoundPlayAtPoint )
# Examples
# campaigns/liberty.sc2campaign
// L12492
SoundPlaySceneFile(gv_sceneMESound[lv_sceneIndex][lp_subIndex], PlayerGroupAll(), gv_sceneFile[lv_sceneIndex][lp_subIndex], "Cam_Export")
// L12492
SoundPlaySceneFile(gv_sceneMESound[lv_sceneIndex][lp_subIndex], PlayerGroupAll(), gv_sceneFile[lv_sceneIndex][lp_subIndex], "Cam_Export")