# Stop All Video Textures On Unit

Grammar — Stop all video textures on unit
FlagsAction

Stops playing all video textures currently playing on the specified unit’s actor. The TV news reports in the Wings Of Liberty campaign are examples of video textures.

# Arguments

  • unit — Unit

Returns — void

void libNtve_gf_StopAllVideoTexturesOnUnit(unit lp_unit);

Category: Actor / Utility

# Examples

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

    gf_RemoveVisibleUnit(false, gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    gf_RemoveVisibleUnit(false, gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Main));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));

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

    gf_RemoveVisibleUnit(false, gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Main));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));

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

    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Main));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    gf_ClearAnimationwithblendtime(c_animNameDefault, gf_BriefingScreen(lp_room, ge_BriefingScreen_Main), 0.0);

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

    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    gf_ClearAnimationwithblendtime(c_animNameDefault, gf_BriefingScreen(lp_room, ge_BriefingScreen_Main), 0.0);
    gf_ClearAnimationwithblendtime(c_animNameDefault, gf_BriefingScreen(lp_room, ge_BriefingScreen_Center), 0.0);

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

    }

    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_roomID, lp_screen));
    libNtve_gf_PlayMovieTextureOnUnitActor(gf_BriefingScreen(lp_roomID, lp_screen), lp_movie);
    libNtve_gf_SendActorMessageToUnit(gf_BriefingScreen(lp_roomID, lp_screen), "TextureVideoPlay video 30 Synced");

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

void gf_BriefingStopVideo (int lp_roomID, int lp_screen) {
    // Implementation
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_roomID, lp_screen));
}

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

    libNtve_gf_SendActorMessageToUnit(gv_marSaraTV, "TextureSelectById video_static");
    gf_StopAllTransmissionConversation();
    libNtve_gf_StopAllVideoTexturesOnUnit(gv_marSaraTV);
    libNtve_gf_PlayMovieTextureOnUnitActor(gv_marSaraTV, "video_static");
    libNtve_gf_SendActorMessageToUnit(gv_marSaraTV, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagLooping, 0, ""));

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

    CameraShakeStop(1);
    gf_StopAllTransmissionConversation();
    libNtve_gf_StopAllVideoTexturesOnUnit(gv_cantinaTV);
    libNtve_gf_PlayMovieTextureOnUnitActor(gv_cantinaTV, "video_static");
    libNtve_gf_SendActorMessageToUnit(gv_cantinaTV, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagLooping, 0, ""));

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

    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorTychus), false, false, "Talk"), c_invalidPortraitId, SoundLink("TValerian01BriefingTychus00002", 0), 0.0, c_transmissionDurationAdd, false);
    TransmissionWait(TransmissionLastSent(), 1.0);
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lv__Room, ge_BriefingScreen_Main));
    PortraitSetChannel(lv_portaitMiddle, 1);
    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(libCamp_gf_ContactPortraitModel(libCamp_ge_ContactID_ContactKerrigan)), lv_portaitMiddle, SoundLink("TValerian01BriefingKerrigan00004", 0), 0.0, c_transmissionDurationAdd, false);

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

        UISetWorldVisible(PlayerGroupAll(), true);
        gf_BriefingPrepare(ge_RoomID_RoomBridge, ge_BriefingCamera_None, ge_ActorID_ActorNone, ge_ActorID_ActorNone, ge_ActorID_ActorNone, true, true, false, false);
        libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center));
        libNtve_gf_PlayMovieTextureOnUnitActor(gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center), "video_static");
        libNtve_gf_SendActorMessageToUnit(gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center), "TextureVideoPlay video 30 Looping,Synced");

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

    gf_RemoveVisibleUnit(false, gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    gf_RemoveVisibleUnit(false, gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Main));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));

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

    gf_RemoveVisibleUnit(false, gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Main));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));

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

    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Main));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    gf_ClearAnimationwithblendtime(c_animNameDefault, gf_BriefingScreen(lp_room, ge_BriefingScreen_Main), 0.0);

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

    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Center));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Left));
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_room, ge_BriefingScreen_Right));
    gf_ClearAnimationwithblendtime(c_animNameDefault, gf_BriefingScreen(lp_room, ge_BriefingScreen_Main), 0.0);
    gf_ClearAnimationwithblendtime(c_animNameDefault, gf_BriefingScreen(lp_room, ge_BriefingScreen_Center), 0.0);

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

    }

    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_roomID, lp_screen));
    libNtve_gf_PlayMovieTextureOnUnitActor(gf_BriefingScreen(lp_roomID, lp_screen), lp_movie);
    libNtve_gf_SendActorMessageToUnit(gf_BriefingScreen(lp_roomID, lp_screen), "TextureVideoPlay video 30 Synced");

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

void gf_BriefingStopVideo (int lp_roomID, int lp_screen) {
    // Implementation
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lp_roomID, lp_screen));
}

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

    libNtve_gf_SendActorMessageToUnit(gv_marSaraTV, "TextureSelectById video_static");
    gf_StopAllTransmissionConversation();
    libNtve_gf_StopAllVideoTexturesOnUnit(gv_marSaraTV);
    libNtve_gf_PlayMovieTextureOnUnitActor(gv_marSaraTV, "video_static");
    libNtve_gf_SendActorMessageToUnit(gv_marSaraTV, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagLooping, 0, ""));

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

    CameraShakeStop(1);
    gf_StopAllTransmissionConversation();
    libNtve_gf_StopAllVideoTexturesOnUnit(gv_cantinaTV);
    libNtve_gf_PlayMovieTextureOnUnitActor(gv_cantinaTV, "video_static");
    libNtve_gf_SendActorMessageToUnit(gv_cantinaTV, MakeMsgTextureVideoPlay("video", c_textureSlotComponentDefault, 30, c_textureVideoPlayFlagLooping, 0, ""));

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

    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorTychus), false, false, "Talk"), c_invalidPortraitId, SoundLink("TValerian01BriefingTychus00002", 0), 0.0, c_transmissionDurationAdd, false);
    TransmissionWait(TransmissionLastSent(), 1.0);
    libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(lv__Room, ge_BriefingScreen_Main));
    PortraitSetChannel(lv_portaitMiddle, 1);
    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(libCamp_gf_ContactPortraitModel(libCamp_ge_ContactID_ContactKerrigan)), lv_portaitMiddle, SoundLink("TValerian01BriefingKerrigan00004", 0), 0.0, c_transmissionDurationAdd, false);

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

        UISetWorldVisible(PlayerGroupAll(), true);
        gf_BriefingPrepare(ge_RoomID_RoomBridge, ge_BriefingCamera_None, ge_ActorID_ActorNone, ge_ActorID_ActorNone, ge_ActorID_ActorNone, true, true, false, false);
        libNtve_gf_StopAllVideoTexturesOnUnit(gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center));
        libNtve_gf_PlayMovieTextureOnUnitActor(gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center), "video_static");
        libNtve_gf_SendActorMessageToUnit(gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center), "TextureVideoPlay video 30 Looping,Synced");