# Stop All Video Textures On Unit
Grammar — Stop all video textures on unit
Flags —Action
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);
# Related
Category: Actor / Utility
- Actor Get Text —
text
— ActorGetText - Actor From Reference —
actor
— ActorRefGet - Actor Scope Get Text —
text
— ActorScopeGetText - Actor From —
actor
— ActorFrom - Actor From Actor —
actor
— ActorFromActor - Actor From Doodad —
actor
— ActorFromDoodad - Actor From Portrait —
actor
— ActorFromPortrait - Actor From Dialog Item —
actor
— ActorFromDialogControl - Actor From Scope —
actor
— ActorFromScope - Actor From Unit —
actor
— libNtve_gf_MainActorofUnit - Actor Scope From —
actorscope
— ActorScopeFrom - Actor Scope From Actor —
actorscope
— ActorScopeFromActor - Actor Scope From Portrait —
actorscope
— ActorScopeFromPortrait - Actor Scope From Dialog Item —
actorscope
— ActorScopeFromDialogControl - Actor Scope From Unit —
actorscope
— ActorScopeFromUnit - Texture Slot Component —
int
— TextureGetSlotComponent - Texture Slot Name —
string
— TextureGetSlotName - Actor Set Reference —
void
— ActorRefSet - Apply Global Texture Group —
void
— ActorTextureGroupApplyGlobal - Remove Global Texture Group —
void
— ActorTextureGroupRemoveGlobal - Push Texture Group —
void
— ActorTextureGroupPush - Pop Texture Group —
void
— ActorTextureGroupPop - Make Actor Face Angle —
void
— libNtve_gf_MakeModelFaceAngle - Play Movie Texture On Unit Actor —
void
— libNtve_gf_PlayMovieTextureOnUnitActor - Stop All Video Textures On Unit —
void
— libNtve_gf_StopAllVideoTexturesOnUnit - Show/Hide Doodads In Region —
void
— libNtve_gf_ShowHideDoodadsInRegion - Actor Add Orient Update —
void
— ActorAddOrientUpdate
# Examples
campaigns/liberty.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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.sc2campaign/base.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");