# Turn Transmission Option On/Off
Grammar — Turn the option transmission option value
Flags —Native
|Action
Adjust transmission options that will affect all future transmissions.
# Arguments
int
<preset::TransmissionDurationType2> — Optionbool
<preset::OnOffOption> — Value
Returns — void
native void TransmissionSetOption(
int inOptionIndex,
bool inValue,
);
# Related
Category: Transmission / Basics
- Send Transmission For Player (deprecated) —
int
<transmission> — TransmissionSendForPlayer - Send Transmission For Player —
int
<transmission> — TransmissionSendForPlayerSelect - Send Transmission (Simple) —
void
— libNtve_gf_SendTransmissionSimple - Last Sent Transmission —
int
<transmission> — TransmissionLastSent - Player Has Active Transmission —
bool
— TransmissionPlayerHasActiveTransmission - Wait For Transmission —
void
— TransmissionWait - Stop Transmission —
void
— TransmissionClear - Stop All Transmissions —
void
— TransmissionClearAll - Stop Group Transmissions —
void
— TransmissionClearGroup - Transmission Is Complete —
bool
— TransmissionIsComplete - Turn Transmission Option On/Off —
void
— TransmissionSetOption - Transmission Comment (Sound)
- Transmission Comment (Conversation)
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1102
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/DirectiveDisplay");
DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorTop, 0, 85);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
UIUnitColorStyleOverride(PlayerGroupActive(), c_unitColorStyleNormal);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCharacterSheetButton, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1102
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/DirectiveDisplay");
DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorTop, 0, 85);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
UIUnitColorStyleOverride(PlayerGroupActive(), c_unitColorStyleNormal);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCharacterSheetButton, false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8274
libCamp_gv_zS_ObjectivePanel = DialogControlLastCreated();
DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorTopLeft, 0, 30);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
autoD57400DD_g = PlayerGroupAll();
lv_indexPlayer = -1;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12716
libSwaC_gf_ZS_StoreTechBonusAtMissionBeginning();
TriggerDebugOutput(1, StringExternal("Param/Value/lib_SwaC_1A7C23AB"), false);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
auto520078D4_g = PlayerGroupAll();
lv_indexPlayer = -1;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6558
libVoiC_gf_PC_StoreTechBonusAtMissionBeginning();
TriggerDebugOutput(1, StringExternal("Param/Value/lib_VoiC_DD3C0FEA"), false);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
auto421010EF_g = PlayerGroupAll();
lv_indexPlayer = -1;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2239
libNCMI_gf_NM_VoidCampaignMissionInit();
TriggerDebugOutput(1, StringExternal("Param/Value/lib_NovC_760650CF"), false);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
auto015E2278_g = PlayerGroupAll();
auto015E2278_p = 1;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4357
libCOOC_gf_CC_CampaignPreload();
TriggerDebugOutput(1, StringExternal("Param/Value/lib_COOC_DD3C0FEA"), false);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
auto421010EF_g = PlayerGroupAll();
lv_indexPlayer = -1;
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5855
libA3DDD02B_gf_PP_StoreTechBonusAtMissionBeginning();
TriggerDebugOutput(1, StringExternal("Param/Value/lib_A3DDD02B_1A7C23AB"), false);
TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
auto520078D4_g = PlayerGroupAll();
lv_indexPlayer = -1;