# Play Sound Scene

Grammar — Play soundLink owned by player owningPlayer with animation animation on units|Unit Group for audibleMask
FlagsNative | Action

Plays a sound for the specified players, and plays the specified animation on the specified units. The animation on the units will be sync’d up with the sound.

# Arguments

  • soundlink — Sound Link
  • int — Owning Player
  • playergroup — Audible Mask
  • unitgroup — Units
  • string<modelanim> — Animation

Returns — void

native void SoundPlaySceneForPlayer(
	soundlink link,
	int inOwningPlayer,
	playergroup audibleMask,
	unitgroup units,
	string animProps,
);

Category: Sound / Scenes

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4257

    // Automatic Variable Declarations
    // Implementation
    SoundPlaySceneForPlayer(lp_soundLink, c_maxPlayers, lp_players, lp_units, lp_animation);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3523

    // Automatic Variable Declarations
    // Implementation
    SoundPlaySceneForPlayer(lp_soundLink, c_maxPlayers, lp_players, lp_units, lp_animation);
}