# Apply Global Texture Group
Grammar — Apply the texture props textureProps globally
Flags —Native
|Action
Applies texture props globally. If a model’s data is configured for texture swapping, and there is a texture available to the model with the global props, then that texture will be used.
# Arguments
string
— Texture Props
Returns — void
native void ActorTextureGroupApplyGlobal(
string textureProps,
);
# 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:16072
gf_Init02BRoomsArmoryWindowPlanets2(libCamp_ge_MapID_MapTHanson01);
if ((gf_RoomIsEnabled(ge_RoomID_RoomMarSara) == true)) {
ActorTextureGroupApplyGlobal("marsarabar");
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomBridge) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:16075
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomBridge) == true)) {
ActorTextureGroupApplyGlobal("bridge");
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomChar) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:16078
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomChar) == true)) {
ActorTextureGroupApplyGlobal("battlefield");
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19854
gf_ChangeVisibleUnits(gf_RoomUnits(ge_RoomID_RoomBridge));
gf_PrepareRoomActors(ge_RoomID_RoomBridge, true);
ActorTextureGroupApplyGlobal("bridge");
gf_BridgeActorAnimation(true, true, true);
libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(UnitFromId(1029)), "Cover");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19896
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorTosh), "Cover", true);
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorHillMercContact), "Cover", true);
ActorTextureGroupApplyGlobal("cantina");
if ((gv_cantinaState == ge_CantinaStates_Broken)) {
gf_TurnAnimationPropertiesOnOffInstantly(gv_cantinaProps, "A", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19980
libNtve_gf_SendActorMessageToUnit(gv_charMarineA, "AnimBaselineStart");
libNtve_gf_SendActorMessageToUnit(gv_charMarineB, "AnimBaselineStart");
ActorTextureGroupApplyGlobal("battlefield");
TriggerExecute(gt_CharArtifactAnimation, true, false);
gf_CharActorAnimation(true, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20179
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorRaynor), "Cover", true);
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorTychus), "Cover", true);
ActorTextureGroupApplyGlobal("marsarabar");
gf_PreparePinboard(ge_Pinboard_PBMarSara);
libCamp_gf_ChangeAmbience("Ambience_MarSaraBarV1");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:16072
gf_Init02BRoomsArmoryWindowPlanets2(libCamp_ge_MapID_MapTHanson01);
if ((gf_RoomIsEnabled(ge_RoomID_RoomMarSara) == true)) {
ActorTextureGroupApplyGlobal("marsarabar");
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomBridge) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:16075
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomBridge) == true)) {
ActorTextureGroupApplyGlobal("bridge");
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomChar) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:16078
}
else if ((gf_RoomIsEnabled(ge_RoomID_RoomChar) == true)) {
ActorTextureGroupApplyGlobal("battlefield");
}
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19854
gf_ChangeVisibleUnits(gf_RoomUnits(ge_RoomID_RoomBridge));
gf_PrepareRoomActors(ge_RoomID_RoomBridge, true);
ActorTextureGroupApplyGlobal("bridge");
gf_BridgeActorAnimation(true, true, true);
libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(UnitFromId(1029)), "Cover");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19896
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorTosh), "Cover", true);
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorHillMercContact), "Cover", true);
ActorTextureGroupApplyGlobal("cantina");
if ((gv_cantinaState == ge_CantinaStates_Broken)) {
gf_TurnAnimationPropertiesOnOffInstantly(gv_cantinaProps, "A", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19980
libNtve_gf_SendActorMessageToUnit(gv_charMarineA, "AnimBaselineStart");
libNtve_gf_SendActorMessageToUnit(gv_charMarineB, "AnimBaselineStart");
ActorTextureGroupApplyGlobal("battlefield");
TriggerExecute(gt_CharArtifactAnimation, true, false);
gf_CharActorAnimation(true, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:20179
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorRaynor), "Cover", true);
gf_TurnAnimationPropertiesOnOffInstantly(gf_ActorUnit(ge_ActorID_ActorTychus), "Cover", true);
ActorTextureGroupApplyGlobal("marsarabar");
gf_PreparePinboard(ge_Pinboard_PBMarSara);
libCamp_gf_ChangeAmbience("Ambience_MarSaraBarV1");