# Set Transmission Source Streaming Allowed

Grammar — Set the Streaming Allowed flag for transmissionSource to allowed|allowed.
FlagsNative | Action

If the streaming allowed flag is set to true and this transmission source is a movie, the movie can be streamed if its not local.

# Arguments

  • transmissionsource — Transmission Source
  • bool — Allowed

Returns — void

native void TransmissionSourceSetStreamingAllowed(
	transmissionsource source,
	bool allowed,
);

Category: Transmission / Sources

# Examples

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

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_oldrivals.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28309

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_bettermarine.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28381

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_thedream.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28429

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_end.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28261

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_oldrivals.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28309

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_bettermarine.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28381

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_thedream.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, 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:28429

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_end.ogv", true);
    TransmissionSourceSetPauseAllowed(lv_movieSource, true);
    TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
    TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "Talk", SoundLink(null, c_soundIndexAny), null, null, 0.0, c_transmissionDurationAdd, true);
    return true;

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

    lv_movieSource = TransmissionSourceFromMovie("Assets\\Textures\\cinematic_end.ogv", true);
    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);

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

        lv_movieSource = TransmissionSourceFromMovie(libSwaC_gf_ZS_SceneMovie(libSwaC_gv_zS_PlaySceneCurrentScene), true);
        TriggerExecute(libSwaC_gt_ZS_CinematicDetectSkipping, true, false);
        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);

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

        lv_movieSource = TransmissionSourceFromMovie(libVoiC_gf_PC_SceneMovie(libVoiC_gv_pC_PlaySceneCurrentScene), true);
        TriggerExecute(libVoiC_gt_PC_CinematicDetectSkipping, true, false);
        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);

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

        lv_movieSource = TransmissionSourceFromMovie(libComC_gf_CC_SceneMovie(libComC_gv_cC_CutsceneCurrentUser), true);
        TriggerExecute(libComC_gt_CC_CinematicDetectSkipping, true, false);
        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);

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

        lv_movieSource = TransmissionSourceFromMovie(libA3DDD02B_gf_PP_SceneMovie(libA3DDD02B_gv_pP_PlaySceneCurrentScene), true);
        TriggerExecute(libA3DDD02B_gt_PP_CinematicDetectSkipping, true, false);
        TransmissionSourceSetStreamingAllowed(lv_movieSource, true);
        TransmissionSourceSetPauseAllowed(lv_movieSource, true);
        TransmissionSend(PlayerGroupAll(), lv_movieSource, libNtve_gf_FullscreenPortrait(), "", null, null, null, 0.0, c_transmissionDurationAdd, true);