# Set Sound Listener Gender
Grammar — Set the listener gender for sound soundLink to gender
Flags —Native
|Action
The listener gender will be used to look for alternate sound data associated with voice overs.
# Arguments
soundlink
— Sound Linkint
[ preset::FontSize2 ] — Gender
Returns — void
native void SoundSetListenerGender(
soundlink link,
int gender,
);
# Related
Category: Sound / Sounds
- [F] —
void
— Play Sound On Unit — ( SoundPlayOnUnitForPlayer ) - [F] —
void
— Play Sound At Point — ( SoundPlayAtPointForPlayer ) - [F] —
void
— Play Sound — ( SoundPlayForPlayer ) - [F] —
sound
— Last Played Sound — ( SoundLastPlayed ) - [F] —
void
— Pause Sound — ( SoundPause ) - [F] —
void
— Stop Sound — ( SoundStop ) - [F] —
void
— Skip To Sound Offset — ( SoundSetOffset ) - [F] —
void
— Move Sound — ( SoundSetPosition ) - [F] —
void
— Wait For Sound — ( SoundWait ) - [F] —
void
— Set Sound Volume — ( SoundSetVolume ) - [F] —
void
— Stop All Trigger Sounds — ( SoundStopAllTriggerSounds ) - [F] —
void
— Stop All Model Sounds — ( SoundStopAllModelSounds ) - [F] —
void
— Set Sound Listener Gender — ( SoundSetListenerGender )
# Examples
# mods/starcoop/starcoop.sc2mod
// L9753
SoundSetListenerGender(lp_vOSound, libCOOC_gf_CC_CommanderGender(libCOOC_gf_ActiveCommanderForPlayer(lp_listenerPlayer)))