# Set Data Conversation Listener Gender

Grammar — Set the listener gender for conversation conversation to gender
FlagsNative | Action

The listener gender will be used to look for alternate text or sound data associated with voice overs.

# Arguments

  • string<gamelink::Conversation> — Conversation
  • int<preset::FontSize2> — Gender

Returns — void

native void ConversationDataSetListenerGender(
	string convId,
	int gender,
);

Category: Conversation / Data Conversation Tools

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:9491


    }
    ConversationDataSetListenerGender("acObj", libCOMI_gv_cM_VOGroupGender);
    ConversationDataSetListenerGender("acResponses", libCOMI_gv_cM_VOGroupGender);
    ConversationDataRegisterPortrait("char_TerranAdjutant", libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:9492

    }
    ConversationDataSetListenerGender("acObj", libCOMI_gv_cM_VOGroupGender);
    ConversationDataSetListenerGender("acResponses", libCOMI_gv_cM_VOGroupGender);
    ConversationDataRegisterPortrait("char_TerranAdjutant", libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft));
    ConversationDataRegisterPortrait("char_ProtossExecutor", libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:33293

    if ((libCOMI_gv_cM_TransmissionSource != -1) && (PlayerGroupHasPlayer(libCOOC_gf_CommanderPlayers(), libCOMI_gv_cM_TransmissionSource) == true)) {
        if (((libCOMI_gv_cM_TransmissionCurrentType == "AttackWave") || (libCOMI_gv_cM_TransmissionCurrentType == "CloakedUnitsSpotted"))) {
            ConversationDataSetListenerGender("acAttackWave", libCOOC_gf_CC_CommanderGender(libCOOC_gf_ActiveCommanderForPlayer(libCOOC_gf_CC_PlayerAlly(libCOMI_gv_cM_TransmissionSource))));
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:33300

    else {
        if (((libCOMI_gv_cM_TransmissionCurrentType == "AttackWave") || (libCOMI_gv_cM_TransmissionCurrentType == "CloakedUnitsSpotted"))) {
            ConversationDataSetListenerGender("acAttackWave", c_genderDefault);
        }