# Attach Actor To Unit
Grammar — Attach actor to attachPoint|Attach Point on unit
Flags —Action
Creates an actor attached to a unit at the specified attach point. Use “Last Created Actor” to get the actor.
# Arguments
unit
— Unitstring
<gamelink::Actor> — Actorstring
<preset::AttachPoints> — AttachPoint
Returns — actor
actor libNtve_gf_AttachActorToUnit(
unit lp_unit,
string lp_actor,
string lp_attachPoint,
);
# Related
Category: Actor / Create Actors
- Attach Model To Unit —
actor
— libNtve_gf_AttachModelToUnit - Attach Model To Unit (Inherit Visibility) —
actor
— libNtve_gf_AttachModelToUnitInheritVisibility - Attach Model To Actor —
actor
— libNtve_gf_AttachModelToActor2 - Last Created Actor Scope —
actorscope
— libNtve_gf_ActorScopeLastCreated - Last Created Actor Scope by Message —
actorscope
— libNtve_gf_ActorScopeLastCreatedSend - Last Created Actor —
actor
— libNtve_gf_ActorLastCreated - Last Created Actor by Message —
actor
— libNtve_gf_ActorLastCreatedSend - Attach Actor To Unit —
actor
— libNtve_gf_AttachActorToUnit - Attach Actor To Actor —
actor
— libNtve_gf_AttachActorToActor - Create Actor Scope —
actorscope
— ActorScopeCreate - Create Actor —
actor
— ActorCreate - Create Actor Region —
actor
— ActorRegionCreate - Create Actor At Point —
actor
— libNtve_gf_CreateActorAtPoint - Create Model At Point —
actor
— libNtve_gf_CreateModelAtPoint - Create Model With Point Facing —
void
— libNtve_gf_CreateModelWithPointFacing - Actor Scope Move To —
void
— ActorScopeMoveTo
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1802
lv_finalOffsetPoint = PointWithOffsetPolar(gv_terraTronPosition, lv_scaledDistance, lv_angleBetweenPoints);
UnitCreate(1, "SS_TerraTronMissileLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), lv_finalOffsetPoint, (lp_facing - 90.0));
libNtve_gf_AttachActorToUnit(gv_boss, "SS_TerraTronMissileLaunch", lp_launchAttachPoint);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:785
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00030", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00030", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:971
TriggerQueueEnter();
libNtve_gf_MakeUnitFacePoint(gv_crazyOldClarice, UnitGetPosition(EventUnit()), 0.3);
libNtve_gf_AttachActorToUnit(gv_crazyOldClarice, "TalkIcon", "Ref_Origin");
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_crazyOldClarice), c_animNameDefault, "Talk One", c_animFlagPlayForever, c_animTimeDefault);
UIAlertPoint("Trigger", gv_p1_USER, StringToText(""), null, UnitGetPosition(gv_crazyOldClarice));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1140
}
else {
libNtve_gf_AttachActorToUnit(UnitFromId(59), "TalkIcon", "Ref_Origin");
UIAlertPoint("Trigger", gv_p1_USER, StringToText(""), null, UnitGetPosition(UnitFromId(59)));
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1303
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00029", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00029", -1), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1354
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00037", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00037", -1), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1400
TriggerQueueEnter();
libNtve_gf_MakeUnitFacePoint(gv_mutteringJohn, UnitGetPosition(EventUnit()), 0.3);
libNtve_gf_AttachActorToUnit(gv_mutteringJohn, "TalkIcon", "Ref_Origin");
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_mutteringJohn), c_animNameDefault, "Talk One", c_animFlagNonLooping, c_animTimeDefault);
UIAlertPoint("Trigger", gv_p1_USER, StringToText(""), null, UnitGetPosition(gv_mutteringJohn));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1483
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00038", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00038", -1), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1764
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/ED89FBB2"), null, RegionGetCenter(RegionFromId(6)));
TransmissionWait(TransmissionLastSent(), 0.0);
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00011", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00011", -1), c_transmissionDurationAdd, 0.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1907
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(lv_speaker, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor03Marine500016", 0)
libCamp_gf_SendTransmissionCampaign(lv_speaker, SoundLink("TRaynor03Marine500016", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2080
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_southieSpeaker, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01DominionMarine700036", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TRaynor01DominionMarine700036", 0), c_transmissionDurationAdd, 0.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1923
if (auto1789B74F_var == null) { break; }
UnitSetPropertyFixed(auto1789B74F_var, c_unitPropLife, (UnitGetPropertyFixed(auto1789B74F_var, c_unitPropLife, c_unitPropCurrent) - gv_dAMAGEPULSEVALUE));
libNtve_gf_AttachActorToUnit(auto1789B74F_var, "XelNagaShieldDomeImpact", "Ref_Center");
gv_damageTracker += 1.0;
if ((UnitGetPropertyFixed(auto1789B74F_var, c_unitPropLife, c_unitPropCurrent) <= 0.0) && (UnitGetOwner(auto1789B74F_var) == gv_pLAYER_01_USER)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:1802
lv_finalOffsetPoint = PointWithOffsetPolar(gv_terraTronPosition, lv_scaledDistance, lv_angleBetweenPoints);
UnitCreate(1, "SS_TerraTronMissileLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), lv_finalOffsetPoint, (lp_facing - 90.0));
libNtve_gf_AttachActorToUnit(gv_boss, "SS_TerraTronMissileLaunch", lp_launchAttachPoint);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:785
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00030", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00030", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:971
TriggerQueueEnter();
libNtve_gf_MakeUnitFacePoint(gv_crazyOldClarice, UnitGetPosition(EventUnit()), 0.3);
libNtve_gf_AttachActorToUnit(gv_crazyOldClarice, "TalkIcon", "Ref_Origin");
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_crazyOldClarice), c_animNameDefault, "Talk One", c_animFlagPlayForever, c_animTimeDefault);
UIAlertPoint("Trigger", gv_p1_USER, StringToText(""), null, UnitGetPosition(gv_crazyOldClarice));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1140
}
else {
libNtve_gf_AttachActorToUnit(UnitFromId(59), "TalkIcon", "Ref_Origin");
UIAlertPoint("Trigger", gv_p1_USER, StringToText(""), null, UnitGetPosition(UnitFromId(59)));
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1303
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00029", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00029", -1), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1354
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00037", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00037", -1), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1400
TriggerQueueEnter();
libNtve_gf_MakeUnitFacePoint(gv_mutteringJohn, UnitGetPosition(EventUnit()), 0.3);
libNtve_gf_AttachActorToUnit(gv_mutteringJohn, "TalkIcon", "Ref_Origin");
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_mutteringJohn), c_animNameDefault, "Talk One", c_animFlagNonLooping, c_animTimeDefault);
UIAlertPoint("Trigger", gv_p1_USER, StringToText(""), null, UnitGetPosition(gv_mutteringJohn));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1483
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00038", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00038", -1), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1764
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/ED89FBB2"), null, RegionGetCenter(RegionFromId(6)));
TransmissionWait(TransmissionLastSent(), 0.0);
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01Raynor00011", 0)
libCamp_gf_SendTransmissionCampaign(gv_raynor, SoundLink("TRaynor01Raynor00011", -1), c_transmissionDurationAdd, 0.0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1907
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(lv_speaker, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor03Marine500016", 0)
libCamp_gf_SendTransmissionCampaign(lv_speaker, SoundLink("TRaynor03Marine500016", 0), c_transmissionDurationAdd, 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2080
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_AttachActorToUnit(gv_southieSpeaker, "TalkIcon", "Ref_Origin");
// Transmission - SoundLink("TRaynor01DominionMarine700036", 0)
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TRaynor01DominionMarine700036", 0), c_transmissionDurationAdd, 0.0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1923
if (auto1789B74F_var == null) { break; }
UnitSetPropertyFixed(auto1789B74F_var, c_unitPropLife, (UnitGetPropertyFixed(auto1789B74F_var, c_unitPropLife, c_unitPropCurrent) - gv_dAMAGEPULSEVALUE));
libNtve_gf_AttachActorToUnit(auto1789B74F_var, "XelNagaShieldDomeImpact", "Ref_Center");
gv_damageTracker += 1.0;
if ((UnitGetPropertyFixed(auto1789B74F_var, c_unitPropLife, c_unitPropCurrent) <= 0.0) && (UnitGetOwner(auto1789B74F_var) == gv_pLAYER_01_USER)) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map/MapScript.galaxy:3505
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InvisibleTargetDummy", 0, 0, PointFromId(609));
gv_carrionDecayEmitter = UnitLastCreated();
libNtve_gf_AttachActorToUnit(gv_carrionDecayEmitter, "EvoSwarmHostDecayLoopSound", "Center");
Wait(1.0, c_timeGame);
libSwaC_gf_SendTransmissionCampaign(null, "zEvoBriefing_EggMonster|Line00017", c_transmissionDurationAdd, 0.0, true, 1, 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map/MapScript.galaxy:3605
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InvisibleTargetDummy", 0, 0, PointFromId(609));
gv_carrionDecayEmitter = UnitLastCreated();
libNtve_gf_AttachActorToUnit(gv_carrionDecayEmitter, "EvoSwarmHostDecayLoopSound", "Center");
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1463
gv_mapMusicTrack = "ZLab03MusicMain";
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, gv_mapMusicTrack, c_soundtrackCueAny, c_soundtrackIndexAny, true);
libNtve_gf_AttachActorToUnit(UnitFromId(52), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundLeft = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(146), "ZergCavesLoopSound", "Ref_Center");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1465
libNtve_gf_AttachActorToUnit(UnitFromId(52), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundLeft = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(146), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundRight = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(781), "ZergCavesLoopSound", "Ref_Center");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1467
libNtve_gf_AttachActorToUnit(UnitFromId(146), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundRight = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(781), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundCenter = libNtve_gf_ActorLastCreated();
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:1155
lv_distance = DistanceBetweenPoints(lp_target, lv_kraithPosition);
if ((lv_distance < 6.0)) {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator4", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:1160
else {
if ((lv_distance < 10.0)) {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator8", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:1165
else {
if ((lv_distance < 12.0)) {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator12", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:1169
}
else {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator16", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map — MapScript.galaxy:3505
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InvisibleTargetDummy", 0, 0, PointFromId(609));
gv_carrionDecayEmitter = UnitLastCreated();
libNtve_gf_AttachActorToUnit(gv_carrionDecayEmitter, "EvoSwarmHostDecayLoopSound", "Center");
Wait(1.0, c_timeGame);
libSwaC_gf_SendTransmissionCampaign(null, "zEvoBriefing_EggMonster|Line00017", c_transmissionDurationAdd, 0.0, true, 1, 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map — MapScript.galaxy:3605
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InvisibleTargetDummy", 0, 0, PointFromId(609));
gv_carrionDecayEmitter = UnitLastCreated();
libNtve_gf_AttachActorToUnit(gv_carrionDecayEmitter, "EvoSwarmHostDecayLoopSound", "Center");
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:1463
gv_mapMusicTrack = "ZLab03MusicMain";
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, gv_mapMusicTrack, c_soundtrackCueAny, c_soundtrackIndexAny, true);
libNtve_gf_AttachActorToUnit(UnitFromId(52), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundLeft = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(146), "ZergCavesLoopSound", "Ref_Center");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:1465
libNtve_gf_AttachActorToUnit(UnitFromId(52), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundLeft = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(146), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundRight = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(781), "ZergCavesLoopSound", "Ref_Center");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:1467
libNtve_gf_AttachActorToUnit(UnitFromId(146), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundRight = libNtve_gf_ActorLastCreated();
libNtve_gf_AttachActorToUnit(UnitFromId(781), "ZergCavesLoopSound", "Ref_Center");
gv_rescue_SoundCenter = libNtve_gf_ActorLastCreated();
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:1155
lv_distance = DistanceBetweenPoints(lp_target, lv_kraithPosition);
if ((lv_distance < 6.0)) {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator4", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:1160
else {
if ((lv_distance < 10.0)) {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator8", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:1165
else {
if ((lv_distance < 12.0)) {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator12", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:1169
}
else {
libNtve_gf_AttachActorToUnit(gv_kraith, "KraithCrashingChargeIndicator16", "Ref_Origin");
lv_targetActor = libNtve_gf_ActorLastCreated();
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11855
lv_actor = libSwaC_gf_ZS_KerriganUIKerirganModelType();
libNtve_gf_AttachActorToUnit(libSwaC_gv_zS_KerriganUIBackground, lv_actor, "Ref_Target");
ActorSend(libNtve_gf_ActorLastCreated(), "SetScale 10.500000");
libSwaC_gv_zS_KerriganUIBackgroundKerrigan = libNtve_gf_ActorLastCreated();
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21594
ActorSend(libSwaC_gv_zS_KerriganUIBackgroundKerrigan, "AnimBracketStop ZUIEyeGlow");
libNtve_gf_ClearAnimation(libSwaC_gv_zS_KerriganUIBackgroundKerrigan, "FaceAnim");
libNtve_gf_AttachActorToUnit(libSwaC_gv_zS_KerriganUIBackground, "KerriganAbilityUISurge", "Ref_Target 01");
ActorSend(libNtve_gf_ActorLastCreated(), "SetScale 10.500000");
if ((libSwaC_gf_KerriganPhaseCheck(libSwaC_ge_KerriganPhase_KerriganPhaseGhost) == false)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:14809
if (((libCore_gf_ActorStoredForUnit(lv_erik, 1) != null) || (libCore_gf_ActorStoredForUnit(lv_olaf, 1) != null) || (libCore_gf_ActorStoredForUnit(lv_baleog, 1) != null))) {
libNtve_gf_AttachActorToUnit(lv_boat, "GenericHeroLight", "Ref_Origin");
libCore_gf_StoreActorForUnit(lv_boat, 1, libNtve_gf_ActorLastCreated());
}
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:308
if ((libCore_gf_ActorStoredForUnit(lp_heroUnit, 1) == null)) {
if ((UnitHasBehavior2(lp_heroUnit, "LowIntensityLight") == true)) {
libNtve_gf_AttachActorToUnit(lp_heroUnit, "HeroLightLowIntensity", "Ref_Origin");
}
else {
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:311
}
else {
libNtve_gf_AttachActorToUnit(lp_heroUnit, "UndergroundHeroLight", "Ref_Origin");
}
libCore_gf_StoreActorForUnit(lp_heroUnit, 1, libNtve_gf_ActorLastCreated());
mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod — base.stormdata/LibMSOC.galaxy:646
// Implementation
if ((libCore_gf_ActorStoredForUnit(lp_heroUnit, 1) == null)) {
libNtve_gf_AttachActorToUnit(lp_heroUnit, "TombCameraLight", "Ref_Origin");
libCore_gf_StoreActorForUnit(lp_heroUnit, 1, libNtve_gf_ActorLastCreated());
}