# Triggering Effect Unit
Flags —
Native
|Function
# Arguments
int
<preset::EffectUnit> — Location
Returns — unit
native unit EventPlayerEffectUsedUnit(int inLocation);
# Supported triggers
- Effect Used — TriggerAddEventPlayerEffectUsed
# Related
Category: Environment / Effects
- Create Explosion At Point —
void
— libNtve_gf_CreateExplosionAtPoint - Create Effect At Point (From Player) —
void
— PlayerCreateEffectPoint - Create Effect On Unit (From Player) —
void
— PlayerCreateEffectUnit - Create Effect At Point (From Unit) —
void
— UnitCreateEffectPoint - Create Effect On Unit (From Unit) —
void
— UnitCreateEffectUnit - Damage Unit (From Unit) —
void
— UnitDamage - Player Can Create Effect At Point —
bool
— libNtve_gf_PlayerCanCreateEffectAtPoint - Player Can Create Effect On Unit —
bool
— libNtve_gf_PlayerCanCreateEffectOnUnit - Unit Can Create Effect At Point —
bool
— libNtve_gf_UnitCanCreateEffectAtPoint - Unit Can Create Effect On Unit —
bool
— libNtve_gf_UnitCanCreateEffectOnUnit - Destroy Effects —
void
— GameDestroyEffects - Effect Used —
void
— TriggerAddEventPlayerEffectUsed - Effect Used From Scope —
void
— TriggerAddEventPlayerEffectUsedFromScope - Triggering Effect Used —
string
<gamelink::Effect> — EventPlayerEffectUsed - Triggering Effect Point —
point
— EventPlayerEffectUsedPoint - Triggering Effect Unit —
unit
— EventPlayerEffectUsedUnit - Triggering Effect Item —
unit
— EventPlayerEffectUsedItem - Triggering Effect Impact Unit —
unit
— EventPlayerEffectUsedUnitImpact - Triggering Effect Launch Unit —
unit
— EventPlayerEffectUsedUnitLaunch - Triggering Effect Unit Owner —
int
— EventPlayerEffectUsedUnitOwner - Triggering Effect Unit Type —
string
<gamelink::Unit> — EventPlayerEffectUsedUnitType - Triggering Effect Item Type —
string
<gamelink::Unit> — EventPlayerEffectUsedItemType - Triggering Effect Amount (Integer) —
int
— EventPlayerEffectUsedAmountInt - Triggering Effect Amount (Real) —
fixed
— EventPlayerEffectUsedAmountFixed - Triggering Effect Source Behavior —
string
<gamelink::Behavior> — EventPlayerEffectUsedSourceBehavior - Triggering Effect Weapon —
string
<gamelink::Weapon> — EventPlayerEffectUsedWeapon - Triggering Effect Ability —
string
<gamelink::Abil> — EventPlayerEffectUsedAbil
# Examples
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8742
}
libNtve_gf_KillModel(libHots_gf_ActorForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8743
libNtve_gf_KillModel(libHots_gf_ActorForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8744
libNtve_gf_KillModel(libHots_gf_ActorForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8745
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8746
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8747
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:2451
}
if (!((UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == "PlatformPowerCore"))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:2461
}
lv_activeUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitSetState(lv_activeUnit, c_unitStateTargetable, false);
UnitSetState(lv_activeUnit, c_unitStateInvulnerable, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:3191
}
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:3192
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:3193
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:3194
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2958
gv_shrinesDestroyed += 1;
if ((gv_shrinesDestroyed <= 3)) {
UnitKill(EventPlayerEffectUsedUnit(c_effectUnitCaster));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2963
Wait(0.0625, c_timeAI);
TriggerEnable(TriggerGetCurrent(), true);
PingDestroy(libHots_gf_PingStoredForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
if ((gv_shrinesDestroyed == 4)) {
TriggerEnable(TriggerGetCurrent(), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2980
TriggerExecute(gt_ObjectiveDestroyShrinesUpdate, true, false);
if ((gv_shrinesDestroyed == 4)) {
gv_finalShrineLocation = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
gv_finalShrine = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitSetState(UnitGroupUnit(gv_ascendantGroup, 1), c_unitStateStunned, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2981
if ((gv_shrinesDestroyed == 4)) {
gv_finalShrineLocation = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
gv_finalShrine = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitSetState(UnitGroupUnit(gv_ascendantGroup, 1), c_unitStateStunned, true);
UnitSetState(gv_finalShrine, c_unitStateTargetable, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:2988
}
else {
auto7B42AC61_val = EventPlayerEffectUsedUnit(c_effectUnitCaster);
if (auto7B42AC61_val == gv_shrineNorthUnit) {
lv_ascendant = UnitFromId(147);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:7370
CameraShake(gv_pLAYER_01_USER, "Light", "Tremor", 0.0, 1.0, 1.0);
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_casterFacing = UnitGetFacing(lv_caster);
lv_spawnArc = libLotv_gf_DifficultyValueFixed2(120.0, 120.0, 180.0, 240.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:7426
}
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_target = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_spawnCount = libLotv_gf_DifficultyValueInt2(4, 4, 6, 8);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:3541
TriggerEnable(TriggerGetCurrent(), false);
for (auto2D0F1C8A_i = 1; auto2D0F1C8A_i <= auto2D0F1C8A_n; auto2D0F1C8A_i += 1) {
if ((UnitIsAlive(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:3542
for (auto2D0F1C8A_i = 1; auto2D0F1C8A_i <= auto2D0F1C8A_n; auto2D0F1C8A_i += 1) {
if ((UnitIsAlive(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ZerglingCarbot", 0, gv_pLAYER_07_ZERG_STREAM, PointWithOffset(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, -1.0));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:3543
if ((UnitIsAlive(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ZerglingCarbot", 0, gv_pLAYER_07_ZERG_STREAM, PointWithOffset(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, -1.0));
UnitBehaviorAdd(UnitLastCreated(), "CritterWanderLeash", UnitLastCreated(), 1);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:3544
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ZerglingCarbot", 0, gv_pLAYER_07_ZERG_STREAM, PointWithOffset(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, -1.0));
UnitBehaviorAdd(UnitLastCreated(), "CritterWanderLeash", UnitLastCreated(), 1);
UnitGroupAdd(lv_zerglingGroup, UnitLastCreated());
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3837
}
lv_a = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_b = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_facing = AngleBetweenPoints(lv_a, lv_b);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3838
lv_a = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_b = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_facing = AngleBetweenPoints(lv_a, lv_b);
lv_d = DistanceBetweenPoints(lv_a, lv_b);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8742
}
libNtve_gf_KillModel(libHots_gf_ActorForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8743
libNtve_gf_KillModel(libHots_gf_ActorForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8744
libNtve_gf_KillModel(libHots_gf_ActorForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8745
TextTagDestroy(libHots_gf_TextTagForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8746
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8747
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2map — MapScript.galaxy:2451
}
if (!((UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == "PlatformPowerCore"))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2map — MapScript.galaxy:2461
}
lv_activeUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitSetState(lv_activeUnit, c_unitStateTargetable, false);
UnitSetState(lv_activeUnit, c_unitStateInvulnerable, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:3191
}
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:3192
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:3193
libNtve_gf_MakeUnitInvulnerable(EventPlayerEffectUsedUnit(c_effectUnitCaster), true);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:3194
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateHighlightable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateTargetable, false);
UnitSetState(EventPlayerEffectUsedUnit(c_effectUnitCaster), c_unitStateSelectable, false);
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:2958
gv_shrinesDestroyed += 1;
if ((gv_shrinesDestroyed <= 3)) {
UnitKill(EventPlayerEffectUsedUnit(c_effectUnitCaster));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:2963
Wait(0.0625, c_timeAI);
TriggerEnable(TriggerGetCurrent(), true);
PingDestroy(libHots_gf_PingStoredForUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), 1));
if ((gv_shrinesDestroyed == 4)) {
TriggerEnable(TriggerGetCurrent(), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:2980
TriggerExecute(gt_ObjectiveDestroyShrinesUpdate, true, false);
if ((gv_shrinesDestroyed == 4)) {
gv_finalShrineLocation = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
gv_finalShrine = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitSetState(UnitGroupUnit(gv_ascendantGroup, 1), c_unitStateStunned, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:2981
if ((gv_shrinesDestroyed == 4)) {
gv_finalShrineLocation = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
gv_finalShrine = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitSetState(UnitGroupUnit(gv_ascendantGroup, 1), c_unitStateStunned, true);
UnitSetState(gv_finalShrine, c_unitStateTargetable, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2map — MapScript.galaxy:2988
}
else {
auto7B42AC61_val = EventPlayerEffectUsedUnit(c_effectUnitCaster);
if (auto7B42AC61_val == gv_shrineNorthUnit) {
lv_ascendant = UnitFromId(147);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:7370
CameraShake(gv_pLAYER_01_USER, "Light", "Tremor", 0.0, 1.0, 1.0);
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_casterFacing = UnitGetFacing(lv_caster);
lv_spawnArc = libLotv_gf_DifficultyValueFixed2(120.0, 120.0, 180.0, 240.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:7426
}
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_target = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
lv_spawnCount = libLotv_gf_DifficultyValueInt2(4, 4, 6, 8);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:3541
TriggerEnable(TriggerGetCurrent(), false);
for (auto2D0F1C8A_i = 1; auto2D0F1C8A_i <= auto2D0F1C8A_n; auto2D0F1C8A_i += 1) {
if ((UnitIsAlive(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:3542
for (auto2D0F1C8A_i = 1; auto2D0F1C8A_i <= auto2D0F1C8A_n; auto2D0F1C8A_i += 1) {
if ((UnitIsAlive(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ZerglingCarbot", 0, gv_pLAYER_07_ZERG_STREAM, PointWithOffset(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, -1.0));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:3543
if ((UnitIsAlive(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ZerglingCarbot", 0, gv_pLAYER_07_ZERG_STREAM, PointWithOffset(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, -1.0));
UnitBehaviorAdd(UnitLastCreated(), "CritterWanderLeash", UnitLastCreated(), 1);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:3544
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster)), c_animNameDefault, "Spell", 0, c_animTimeDefault);
SoundPlayOnUnitForPlayer(SoundLink("NydusWorm_Unload", -1), c_maxPlayers, PlayerGroupAll(), EventPlayerEffectUsedUnit(c_effectUnitCaster), 0.0, 100.0, 0.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ZerglingCarbot", 0, gv_pLAYER_07_ZERG_STREAM, PointWithOffset(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, -1.0));
UnitBehaviorAdd(UnitLastCreated(), "CritterWanderLeash", UnitLastCreated(), 1);
UnitGroupAdd(lv_zerglingGroup, UnitLastCreated());
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3837
}
lv_a = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_b = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_facing = AngleBetweenPoints(lv_a, lv_b);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3838
lv_a = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_b = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_facing = AngleBetweenPoints(lv_a, lv_b);
lv_d = DistanceBetweenPoints(lv_a, lv_b);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5143
for ( ; ( (autoE747AC09_ai >= 0 && lv_i <= autoE747AC09_ae) || (autoE747AC09_ai < 0 && lv_i >= autoE747AC09_ae) ) ; lv_i += autoE747AC09_ai ) {
lv_radius = (((lv_i / 100.0) * (lv_radiusMaximum - lv_radiusMinimum)) + lv_radiusMinimum);
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitCaster), "SOAStrafeAttackDamage", RegionRandomPoint(RegionCircle(lv_targetPoint, lv_radius)));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitCaster), "SOAStrafeAttackDamage", RegionRandomPoint(RegionCircle(lv_targetPoint, lv_radius)));
VisRevealerCreate(1, RegionCircle(lv_targetPoint, lv_radius));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5144
lv_radius = (((lv_i / 100.0) * (lv_radiusMaximum - lv_radiusMinimum)) + lv_radiusMinimum);
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitCaster), "SOAStrafeAttackDamage", RegionRandomPoint(RegionCircle(lv_targetPoint, lv_radius)));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitCaster), "SOAStrafeAttackDamage", RegionRandomPoint(RegionCircle(lv_targetPoint, lv_radius)));
VisRevealerCreate(1, RegionCircle(lv_targetPoint, lv_radius));
lv_revealer = VisRevealerLastCreated();
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5189
auto7D86169B_var = UnitGroupUnitFromEnd(auto7D86169B_g, auto7D86169B_u);
if (auto7D86169B_var == null) { break; }
UnitCreateEffectUnit(EventPlayerEffectUsedUnit(c_effectUnitCaster), "SOASuperShieldApply", auto7D86169B_var);
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5213
}
AISetUnitSuicide(EventPlayerEffectUsedUnit(c_effectUnitTarget), true);
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5340
// Conditions
if (testConds) {
if (!((UnitHasBehavior2(EventPlayerEffectUsedUnit(c_effectUnitCaster), "AlarakKnockbackTriggerOverride") == true))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5350
}
lv_angle = UnitGetFacing(EventPlayerEffectUsedUnit(c_effectUnitCaster));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "AlarakTriggerUnitKnockback", libVCMI_gf_AlarakKnockbackOffsetFindPoint(lv_angle, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget)), 4.0));
return true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5351
lv_angle = UnitGetFacing(EventPlayerEffectUsedUnit(c_effectUnitCaster));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "AlarakTriggerUnitKnockback", libVCMI_gf_AlarakKnockbackOffsetFindPoint(lv_angle, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget)), 4.0));
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5351
lv_angle = UnitGetFacing(EventPlayerEffectUsedUnit(c_effectUnitCaster));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "AlarakTriggerUnitKnockback", libVCMI_gf_AlarakKnockbackOffsetFindPoint(lv_angle, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget)), 4.0));
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5373
// Conditions
if (testConds) {
if (!((UnitHasBehavior2(EventPlayerEffectUsedUnit(c_effectUnitCaster), "AlarakKnockbackTriggerOverride") == true))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5383
}
lv_angle = UnitGetFacing(EventPlayerEffectUsedUnit(c_effectUnitCaster));
UnitCreateEffectPoint(EventPlayerEffectUsedUnit(c_effectUnitTarget), "AlarakTriggerUnitKnockback", libVCMI_gf_AlarakKnockbackOffsetFindPoint(lv_angle, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitTarget)), 5.0));
return true;
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1780
}
lib6CB3363F_gf_UpdateAmmoDialog(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster));
TextTagCreate(StringExternal("Param/Value/lib_6CB3363F_E599EA4D"), 24, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 1.0, true, false, PlayerGroupSingle(EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster)));
TextTagSetVelocity(TextTagLastCreated(), 1.0, 90.0);
Wait(3.0, c_timeGame);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1810
}
lv_tAngle = AngleBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "BulletEnemySpine", c_unitCreateIgnorePlacement, lv_enemyPlayer, PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 0.2, lv_tAngle));
libNtve_gf_MakeUnitFacePoint(UnitLastCreated(), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle), 0.0);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1811
lv_tAngle = AngleBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "BulletEnemySpine", c_unitCreateIgnorePlacement, lv_enemyPlayer, PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 0.2, lv_tAngle));
libNtve_gf_MakeUnitFacePoint(UnitLastCreated(), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle), 0.0);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("BulletTarget", 0), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle)), c_orderQueueReplace);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1812
lv_tAngle = AngleBetweenPoints(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), EventPlayerEffectUsedPoint(c_effectLocationTargetPoint));
libNtve_gf_CreateUnitsWithDefaultFacing(1, "BulletEnemySpine", c_unitCreateIgnorePlacement, lv_enemyPlayer, PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 0.2, lv_tAngle));
libNtve_gf_MakeUnitFacePoint(UnitLastCreated(), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle), 0.0);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("BulletTarget", 0), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle)), c_orderQueueReplace);
UnitSetHeight(UnitLastCreated(), (WorldHeight(c_heightMapGround, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster))) + 0.5), 0.0);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1813
libNtve_gf_CreateUnitsWithDefaultFacing(1, "BulletEnemySpine", c_unitCreateIgnorePlacement, lv_enemyPlayer, PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 0.2, lv_tAngle));
libNtve_gf_MakeUnitFacePoint(UnitLastCreated(), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle), 0.0);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("BulletTarget", 0), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle)), c_orderQueueReplace);
UnitSetHeight(UnitLastCreated(), (WorldHeight(c_heightMapGround, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster))) + 0.5), 0.0);
UnitBehaviorAdd(UnitLastCreated(), "EnemyHydraliskBulletDamage", UnitLastCreated(), 1);
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:1814
libNtve_gf_MakeUnitFacePoint(UnitLastCreated(), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle), 0.0);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("BulletTarget", 0), PointWithOffsetPolar(UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster)), 20.0, lv_tAngle)), c_orderQueueReplace);
UnitSetHeight(UnitLastCreated(), (WorldHeight(c_heightMapGround, UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster))) + 0.5), 0.0);
UnitBehaviorAdd(UnitLastCreated(), "EnemyHydraliskBulletDamage", UnitLastCreated(), 1);
return true;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4748
}
if (!((EventPlayerEffectUsedUnit(c_effectUnitTarget) == gv_heroPlayer))) {
return false;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:5777
}
lv_damagingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
if ((UnitGetOwner(lv_damagingUnit) == lv_heroOwner)) {
return true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:4748
}
if (!((EventPlayerEffectUsedUnit(c_effectUnitTarget) == gv_heroPlayer))) {
return false;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:5777
}
lv_damagingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
if ((UnitGetOwner(lv_damagingUnit) == lv_heroOwner)) {
return true;
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:2234
// Conditions
if (testConds) {
if (!((UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == "WheresWeirdo"))) {
return false;
}
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1535
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_team = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
libAMGT_gv_aRMGardenTeamSeedsCollected[lv_team] += 1;
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:2485
}
UnitKill(EventPlayerEffectUsedUnit(c_effectUnitTarget));
DialogControlSetVisible(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), false);
libAMVS_gf_TributeClaimed(libGame_gf_TeamNumberOfPlayer(EventPlayer()));
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:2734
}
libAMVS_gv_arti.lv_holder = EventPlayerEffectUsedUnit(c_effectUnitTarget);
libAMVS_gv_arti.lv_player = UnitGetOwner(libAMVS_gv_arti.lv_holder);
libAMVS_gv_arti.lv_team = libGame_gf_TeamNumberOfPlayer(libAMVS_gv_arti.lv_player);
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:2741
AddUnitOfInterest(libAMVS_gv_arti.lv_holder, 500.0, 0.0, "KillHeroCritical", libAIAI_gf_ConvertIntegertoGoalTeam(libGame_gf_EnemyTeam(libAMVS_gv_arti.lv_team)), 0);
libAMVS_gf_ArtiCDR(libAMVS_gv_arti.lv_holder);
UnitRemove(EventPlayerEffectUsedUnit(c_effectUnitCaster));
UnitBehaviorAdd(libAMVS_gv_arti.lv_holder, "HasArtifact", libAMVS_gv_arti.lv_holder, 1);
DialogControlSetAnimationState(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), "Team", IntToString(libAMVS_gv_arti.lv_team));
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2779
}
if (!((UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == "Cannon"))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2789
}
lv_handInHeroUnit2 = EventPlayerEffectUsedUnit(c_effectUnitTarget);
UnitGroupAdd(libMDoE_gv_mDoE_Cannons.lv_cannonsCurrentlyOnCooldown, lv_handInHeroUnit2);
lv_handInPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2792
UnitGroupAdd(libMDoE_gv_mDoE_Cannons.lv_cannonsCurrentlyOnCooldown, lv_handInHeroUnit2);
lv_handInPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_handInHeroUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_handInTeam = libGame_gf_TeamNumberOfPlayer(lv_handInPlayer);
RemoveUnitOfInterest(lv_handInHeroUnit, "InterceptCannonball", libNtve_ge_GoalTeam_Both);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2870
// Automatic Variable Declarations
// Variable Initialization
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerTarget);
lv_collectingTeam = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2928
// Conditions
if (testConds) {
if (!((UnitGetType(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == "AmmoCache"))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2932
}
if (!((UnitGroupHasUnit(libMDoE_gv_mDoE_AmmoCache.lv_availableAmmoCaches, EventPlayerEffectUsedUnit(c_effectUnitTarget)) == true))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2942
}
UnitGroupRemove(libMDoE_gv_mDoE_AmmoCache.lv_availableAmmoCaches, EventPlayerEffectUsedUnit(c_effectUnitTarget));
if ((libMDoE_gv_mDoE_AmmoCache.lv_playerPickedUpAmmoOnce == false)) {
libMDoE_gv_mDoE_AmmoCache.lv_playerPickedUpAmmoOnce = true;
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2948
libMDoE_gv_mDoE_AmmoCache.lv_amountOfAvailableLocations += 1;
autoA5E65E97_val = EventPlayerEffectUsedUnit(c_effectUnitTarget);
if (autoA5E65E97_val == libMDoE_gv_mDoE_AmmoCache.lv_unit[1]) {
libMDoE_gv_mDoE_AmmoCache.lv_nextPointToSpawnAt[libMDoE_gv_mDoE_AmmoCache.lv_amountOfAvailableLocations] = 1;
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2979
else {
}
UnitKill(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2980
}
UnitKill(EventPlayerEffectUsedUnit(c_effectUnitTarget));
lv_collectingUnit = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_collectingPlayer = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_collectingTeam = libGame_gf_TeamNumberOfPlayer(lv_collectingPlayer);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:4969
}
if ((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitCreateAIThinkTree(lv_caster);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:4970
if ((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitCaster)) == true)) {
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
UnitCreateAIThinkTree(lv_caster);
UnitCreateEffectUnit(lv_caster, "PVEMinionMonitorApplyInCombatSet", lv_caster);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:7539
}
UnitBehaviorAdd(EventPlayerEffectUsedUnit(c_effectUnitCaster), "ArchangelMedivacInTransit", EventPlayerEffectUsedUnit(c_effectUnitCaster), 1);
libNtve_gf_UnitCreateFacingPoint(1, "MercMedivac", c_unitCreateIgnorePlacement, lv_player, UnitGetPosition(EventPlayerEffectUsedUnitLaunch()), lv_rallyPoint, null);
lv_medivac = UnitLastCreated();
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:7539
}
UnitBehaviorAdd(EventPlayerEffectUsedUnit(c_effectUnitCaster), "ArchangelMedivacInTransit", EventPlayerEffectUsedUnit(c_effectUnitCaster), 1);
libNtve_gf_UnitCreateFacingPoint(1, "MercMedivac", c_unitCreateIgnorePlacement, lv_player, UnitGetPosition(EventPlayerEffectUsedUnitLaunch()), lv_rallyPoint, null);
lv_medivac = UnitLastCreated();
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:7585
libNtve_gf_SendActorMessageToUnit(lv_medivac, "SetMinimapVisibility");
libUIUI_gf_FullscreenOverlayRemoveItemFromQueueForPlayer(lv_player, "Cutscenes\\GameUI_MedivacOverlay.StormCutscene", "ArchangelMedivacInTransit");
UnitBehaviorRemove(EventPlayerEffectUsedUnit(c_effectUnitCaster), "ArchangelMedivacInTransit", 1);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_medivac), c_animNameDefault, "Spell A", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
SoundPlayAtPointForPlayer(SoundLink("PVE_MercMedivac_FlyOut", -1), lv_player, PlayerGroupAll(), lv_rallyPoint, 0.0, 100.0, 0.0);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10563
lv_minDistance = 3;
lv_maxDistance = 7;
lv_heroPosition = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_owningPlayer = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_reinforcementUnitGroup = UnitGroupEmpty();
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10564
lv_maxDistance = 7;
lv_heroPosition = UnitGetPosition(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_owningPlayer = UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster));
lv_reinforcementUnitGroup = UnitGroupEmpty();
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:11898
// Automatic Variable Declarations
// Variable Initialization
lv_target = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_targetPlayer = UnitGetOwner(lv_target);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:11903
// Conditions
if (testConds) {
if (!((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == true))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:12462
// Automatic Variable Declarations
// Variable Initialization
lv_caster = EventPlayerEffectUsedUnit(c_effectUnitCaster);
lv_target = EventPlayerEffectUsedUnit(c_effectUnitTarget);
lv_targetPlayer = UnitGetOwner(lv_target);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:6857
}
if ((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == true)) {
UnitSetFacing(EventPlayerEffectUsedUnit(c_effectUnitTarget), RandomFixed(0.0, 360.0), 0.0);
libPEB1_gf_PZETurnOnOffZergMinionAI(EventPlayerEffectUsedUnit(c_effectUnitTarget), true);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:6858
if ((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == true)) {
UnitSetFacing(EventPlayerEffectUsedUnit(c_effectUnitTarget), RandomFixed(0.0, 360.0), 0.0);
libPEB1_gf_PZETurnOnOffZergMinionAI(EventPlayerEffectUsedUnit(c_effectUnitTarget), true);
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:6859
if ((UnitIsValid(EventPlayerEffectUsedUnit(c_effectUnitTarget)) == true)) {
UnitSetFacing(EventPlayerEffectUsedUnit(c_effectUnitTarget), RandomFixed(0.0, 360.0), 0.0);
libPEB1_gf_PZETurnOnOffZergMinionAI(EventPlayerEffectUsedUnit(c_effectUnitTarget), true);
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:6923
}
if (!((EventPlayerEffectUsedUnit(c_effectUnitCaster) == libPEB1_gv_slivan))) {
return false;
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:6958
}
if (!((EventPlayerEffectUsedUnit(c_effectUnitCaster) == libPEB1_gv_slivan))) {
return false;
}