# Play Sound Scene File (Deprecated)

Grammar — Play soundLink with file using camera for players
FlagsNative | 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 Link
  • playergroup — Players
  • string — File
  • string — Camera

Returns — void

native void SoundPlaySceneFile(
	soundlink link,
	playergroup players,
	string sceneFile,
	string camera,
);

Category: Sound / Deprecated

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// 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")