# Play Sound Scene
Grammar — Play soundLink owned by player owningPlayer with animation animation on units|Unit Group for audibleMask
Flags —Native
|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 Linkint
— Owning Playerplayergroup
— Audible Maskunitgroup
— Unitsstring
[ modelanim ] — Animation
Returns — void
native void SoundPlaySceneForPlayer(
soundlink link,
int inOwningPlayer,
playergroup audibleMask,
unitgroup units,
string animProps,
);
# Related
Category: Sound / Scenes
- [F] —
void
— Play Sound Scene — ( SoundPlaySceneForPlayer )
# Examples
# mods/core.sc2mod
// L4257
SoundPlaySceneForPlayer(lp_soundLink, c_maxPlayers, lp_players, lp_units, lp_animation)
// L3523
SoundPlaySceneForPlayer(lp_soundLink, c_maxPlayers, lp_players, lp_units, lp_animation)