# Sound ID
Grammar — Sound ID of soundLink
Flags —Native
|Function
Returns the sound ID for a given Sound Link. Sound Links are used to refer to specific sounds. Sound links are comprised of a sound ID (to identify the sound data entry) and an asset index (to identify the asset within that data entry).
# Arguments
soundlink
— Sound Link
Returns — string
[ gamelink::Sound ]
native string SoundLinkId(soundlink soundId);
# 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/liberty.sc2campaign
// L3736
SoundLinkId(lp_soundLink)
// L3738
SoundLinkId(lp_soundLink)
// L3785
SoundLinkId(lp_soundLink)
// L12308
SoundLinkId(gv_sceneMESound[(lp_sceneID)][lv_index])
// L3736
SoundLinkId(lp_soundLink)
// L3738
SoundLinkId(lp_soundLink)
// L3785
SoundLinkId(lp_soundLink)
// L12308
SoundLinkId(gv_sceneMESound[(lp_sceneID)][lv_index])
# campaigns/libertystory.sc2campaign
// L1194
SoundLinkId(lp_soundLink)
# mods/heroesbrawlmods/arenamodemods/arenamode.stormmod
// L997
SoundLinkId(lp_sound)