# Sound Portrait Model
Grammar — Sound portrait model for soundLink
Flags —Native
|Function
Returns the portrait model, if any, defined for the sound in data.
# Arguments
soundlink
— Sound Link
Returns — string
[ gamelink::Model ]
native string SoundPortraitModel(soundlink link);
# Related
Category: Sound / Sound Properties
- [F] —
int
— Sound Asset Index — ( SoundLinkAsset ) - [F] —
string
[ gamelink::Sound ] — Sound ID — ( SoundLinkId ) - [F] —
soundlink
— Sound Link — ( SoundLink ) - [F] —
text
— Sound Subtitle Text — ( SoundSubtitleText ) - [F] —
string
[ gamelink::Model ] — Sound Portrait Model — ( SoundPortraitModel ) - [F] —
fixed
— Sound Duration — ( SoundLengthSync ) - [F] —
void
— Mark Sound For Duration Preload — ( ) - [F] —
void
— Query Sound Duration — ( SoundLengthQuery ) - [F] —
void
— Wait For Sound Durations — ( SoundLengthQueryWait )
# Examples
# campaigns/swarmstory.sc2campaign
// L862
SoundPortraitModel(lp_sound)
# campaigns/voidstory.sc2campaign
— VoidCampaignMissionLib.galaxy
// L2795
SoundPortraitModel(lp_sound)
# mods/heroesdata.stormmod
// L3571
SoundPortraitModel(lp_sound)
// L3771
SoundPortraitModel(lp_sound)
# mods/missionpacks/novacampaign.sc2mod
// L3009
SoundPortraitModel(lp_sound)
# mods/missionpacks/novacampaign.sc2mod
// L887
SoundPortraitModel(SoundLink(lp_transmission, c_soundIndexAny))
// L5792
SoundPortraitModel(SoundLink(ConversationDataGetSound("Tutorial_ArmyUpgradeRoom3|Line00003", true), c_soundIndexAny))
# mods/starcoop/starcoop.sc2mod
// L10721
SoundPortraitModel(lp_sound)
# mods/voidprologue.sc2mod
// L553
SoundPortraitModel(lp_sound)