# Send Transmission (Deprecated)

Grammar — Send transmission to Players from Source playing Sound with name Speaker and message Subtitle using Target playing PortraitAnim|Anim (DurationType Duration seconds, WaitUntilDone|Wait/Don’t Wait until it finishes)
FlagsAction | Hidden

Sends a transmission with sound to the specified players from a source unit or model. Use “Last Sent Transmission” to refer to this transmission after it has begun.

# Arguments

  • playergroup — Players
  • transmissionsource — Source
  • int<portrait> — Portrait
  • string<modelanim> — Portrait Anim
  • soundlink — Sound
  • text — Name
  • text — Message
  • fixed — Duration
  • int<preset::TransmissionDurationType> — DurationType
  • bool<preset::Trigger_Wait_Option> — WaitUntilDone

Returns — int<transmission>

int TransmissionSend(
	playergroup lp_Players,
	transmissionsource lp_Source,
	int lp_Target,
	string lp_PortraitAnim,
	soundlink lp_Sound,
	text lp_Speaker,
	text lp_Subtitle,
	fixed lp_Duration,
	int lp_DurationType,
	bool lp_WaitUntilDone,
);

Category: Transmission / Deprecated

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3617

void gf_PerformFarewellLine (unit lp_speaker, string lp_line, string lp_beforeAnim, string lp_afterAnim, bool lp_waitOption) {
    // Implementation
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromUnit(lp_speaker, false, false, "Talk"), PortraitGetGame(), "Talk", SoundLink(lp_line, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, lp_waitOption);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3627


    gf_SetAllSoundChannelVolumesStoryMode(libNtve_ge_VolumeChannelMode_Speech);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromUnit(lp_speaker, false, false, "Talk"), PortraitGetGame(), "Talk", SoundLink(lp_line, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    gf_SetAllSoundChannelVolumesStoryMode(libNtve_ge_VolumeChannelMode_Game);
    Wait(0.05, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27667


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("Assets\\Textures\\sm_terran01raynorintro.ogv", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27706


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04aTychusIntro.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04bTychusIntroEnd.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27707

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04aTychusIntro.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04bTychusIntroEnd.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27746


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("Assets\\Textures\\sm_terran05hornerbridgeintro.ogv", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27785


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran06ValerianIntro.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27824


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran07BarFight.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27863


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran08DrHansenAend.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:27902


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran09ToshAend.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:3617

void gf_PerformFarewellLine (unit lp_speaker, string lp_line, string lp_beforeAnim, string lp_afterAnim, bool lp_waitOption) {
    // Implementation
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromUnit(lp_speaker, false, false, "Talk"), PortraitGetGame(), "Talk", SoundLink(lp_line, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, lp_waitOption);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:3627


    gf_SetAllSoundChannelVolumesStoryMode(libNtve_ge_VolumeChannelMode_Speech);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromUnit(lp_speaker, false, false, "Talk"), PortraitGetGame(), "Talk", SoundLink(lp_line, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    gf_SetAllSoundChannelVolumesStoryMode(libNtve_ge_VolumeChannelMode_Game);
    Wait(0.05, c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27667


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("Assets\\Textures\\sm_terran01raynorintro.ogv", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27706


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04aTychusIntro.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04bTychusIntroEnd.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27707

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04aTychusIntro.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran04bTychusIntroEnd.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27746


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("Assets\\Textures\\sm_terran05hornerbridgeintro.ogv", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27785


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran06ValerianIntro.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27824


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran07BarFight.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27863


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran08DrHansenAend.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:27902


    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    TransmissionSend(PlayerGroupAll(), TransmissionSourceFromMovie("LocalizedData\\Movies\\InGame\\SM_Terran09ToshAend.ogg", true), libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:828

        lv_source = TransmissionSourceFromUnit(lp_unit, lv_flashOption, false, "Talk");
    }
    TransmissionSend(PlayerGroupAll(), lv_source, lv_portrait, "Talk", lp_sound, null, null, lp_duration, lp_durationType, lp_waitUntilDone);
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:12909

    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, false);
    TransmissionWait(TransmissionLastSent(), 2.5);
    libCamp_gv_tS_EndCinematicFinished = true;

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19779

        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);
        TriggerStop(libSwaC_gt_ZS_CinematicDetectSkipping);
        TriggerStop(libSwaC_gt_ZS_CinematicHandleSkipping);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10473

        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);
        TriggerStop(libVoiC_gt_PC_CinematicDetectSkipping);
        TriggerStop(libVoiC_gt_PC_SceneSkipped);

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4563

    // Automatic Variable Declarations
    // Implementation
    TransmissionSend(PlayerGroupAll(), lp_Source, lp_Target, "Talk", lp_Sound, null, null, lp_Duration, lp_DurationType, lp_WaitUntilDone);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3821

    // Automatic Variable Declarations
    // Implementation
    TransmissionSend(PlayerGroupAll(), lp_Source, lp_Target, "Talk", lp_Sound, null, null, lp_Duration, lp_DurationType, lp_WaitUntilDone);
}

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:4581

        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);
        TriggerStop(libComC_gt_CC_CinematicDetectSkipping);
        TriggerStop(libComC_gt_CC_SceneSkipped);

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:8841

        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);
        TriggerStop(libA3DDD02B_gt_PP_CinematicDetectSkipping);
        TriggerStop(libA3DDD02B_gt_PP_CinematicHandleSkipping);