# Attacking Unit
Grammar — Attacking Unit
Flags —Native
|Function
When called in response to a “Unit Is Attacked” event, this refers to the unit performing the attack.
Returns — unit
native unit EventUnitTarget();
# Supported triggers
- Unit Is Attacked (Deprecated) — TriggerAddEventUnitAttacked
- Unit Starts Attacking (Deprecated) — TriggerAddEventUnitStartedAttack
# Related
Category: Unit / Combat
- Get Unit Damage Dealt Time —
fixed
— UnitGetDamageDealtTime - Get Unit Damage Taken Time —
fixed
— UnitGetDamageTakenTime - Weapon Used In Attack —
string
<gamelink::Weapon> — EventUnitGetWeapon - Item Used In Attack —
unit
— EventUnitGetItem - Item Type Used In Attack —
string
<gamelink::Item> — EventUnitGetItemType - Unit Dies —
void
— TriggerAddEventUnitDied - Killing Unit —
unit
— libNtve_gf_KillingUnit - Killing Player —
int
— libNtve_gf_KillingPlayer - Triggering Death Type Check —
bool
— EventUnitDamageDeathCheck - Unit Is Being Removed —
void
— TriggerAddEventUnitRemoved - Unit Starts Attacking (Deprecated) —
void
— TriggerAddEventUnitStartedAttack - Unit Starts Attacking —
void
— TriggerAddEventUnitStartedAttack2 - Unit Is Attacked (Deprecated) —
void
— TriggerAddEventUnitAttacked - Unit Is Attacked —
void
— TriggerAddEventUnitAttacked2 - Attacking Unit —
unit
— EventUnitTarget - Unit Absorbs Damage —
void
— TriggerAddEventUnitDamageAbsorbed - Unit Takes Damage —
void
— TriggerAddEventUnitDamaged - Damaging Unit —
unit
— EventUnitDamageSourceUnit - Damaging Player —
int
— EventUnitDamageSourcePlayer - Damaging Effect —
string
<gamelink::Effect> — EventUnitDamageEffect - Triggering Damage Taken —
fixed
— EventUnitDamageAmount - Triggering Damage Attempted —
fixed
— EventUnitDamageAttempted - Triggering Damage Attempted Vitals —
fixed
— EventUnitDamageAttemptedVitals - Triggering Damage Absorbed —
fixed
— EventUnitDamageAbsorbed - Triggering Damage Behavior Shield —
fixed
— EventUnitDamageBehaviorShield - Triggering Vitals Leeched —
fixed
— EventUnitDamageVitalsLeeched - Triggering Unit Kill XP —
int
— EventUnitDamageKillXP - Damage Source Position —
point
— EventUnitDamageSourcePoint - Unit is Healed —
void
— TriggerAddEventUnitHealed - Healing Unit —
unit
— EventUnitHealLaunchUnit - Healing Player —
int
— EventUnitHealLaunchPlayer - Triggering Heal Vital Type —
int
<preset::UnitVitalType> — EventUnitHealVital - Triggering Heal Given —
fixed
— EventUnitHealAmount - Healing Effect —
string
<gamelink::Effect> — EventUnitHealEffect - Unit Spends Vital —
void
— TriggerAddEventUnitSpendVital - Triggering Spent Vital Type —
int
<preset::UnitVitalType> — EventUnitSpentVitalVital - Triggering Vital Spent —
fixed
— EventUnitSpentVitalAmount - Unit Acquires Target —
void
— TriggerAddEventUnitAcquiredTarget - Acquired Target —
unit
— libNtve_gf_AcquiredTarget - Unit Is Revived —
void
— TriggerAddEventUnitRevive - Triggering Victim Unit —
unit
— EventUnitVictimUnit - Triggering Item Used —
unit
— EventUnitItemUsed - Triggering Effect Used —
string
<gamelink::Effect> — EventUnitEffectUsed
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2668
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_p4_COLONISTS) || (UnitGetOwner(EventUnitTarget()) == gv_p4_COLONISTS)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:823
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p03_DOMINION_WAREHOUSE))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:827
}
if (!((RegionContainsPoint(RegionFromId(7), UnitGetPosition(EventUnitTarget())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:838
TriggerEnable(TriggerGetCurrent(), false);
auto1FE7BFD6_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1FE7BFD6_u = UnitGroupCount(auto1FE7BFD6_g, c_unitCountAll);
for (;; auto1FE7BFD6_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:897
TriggerEnable(TriggerGetCurrent(), false);
auto32B93861_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto32B93861_u = UnitGroupCount(auto32B93861_g, c_unitCountAll);
for (;; auto32B93861_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:934
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p03_DOMINION_WAREHOUSE))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:938
}
if (!((RegionContainsPoint(RegionFromId(9), UnitGetPosition(EventUnitTarget())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:949
TriggerEnable(TriggerGetCurrent(), false);
auto9297DEB2_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto9297DEB2_u = UnitGroupCount(auto9297DEB2_g, c_unitCountAll);
for (;; auto9297DEB2_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2535
}
autoF124A860_g = UnitGroup(null, UnitGetOwner(EventUnit()), RegionCircle(UnitGetPosition(EventUnitTarget()), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile) | (1 << c_targetFilterPreventDefeat), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoF124A860_u = UnitGroupCount(autoF124A860_g, c_unitCountAll);
for (;; autoF124A860_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:6271
// Conditions
if (testConds) {
if (!((UnitGetType(EventUnitTarget()) == "Warbot"))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:6282
TriggerEnable(TriggerGetCurrent(), false);
UnitIssueOrder(UnitFromId(68), OrderTargetingUnit(AbilityCommand("250mmStrikeCannons", 0), EventUnitTarget()), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1996
}
gv_southieTarget = EventUnitTarget();
TriggerExecute(gt_SouthieMarineattackQ, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3113
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p1_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3360
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1001
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_p1_USER) || (UnitGetOwner(EventUnitTarget()) == gv_p1_USER)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:1533
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2180
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3079
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3629
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4626
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1756
}
if (!(((UnitGetOwner(EventUnit()) == gv_p1_USER) || (UnitGetOwner(EventUnitTarget()) == gv_p1_USER)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2272
// Conditions
if (testConds) {
if (!((EventUnitTarget() == gv_tHEONEDRILL))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2180
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2217
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2254
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2248
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2135
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop01, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop01);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2168
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop02, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop02);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2201
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop03, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop03);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2234
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop04, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop04);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2267
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop05, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop05);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2300
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop06, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop06);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2333
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop07, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop07);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2366
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop08, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop08);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2399
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop09, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop09);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2432
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop10, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop10);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1038
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_P01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_P01_USER)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:7411
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_p1_USER) || (UnitGetOwner(EventUnitTarget()) == gv_p1_USER)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:2668
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_p4_COLONISTS) || (UnitGetOwner(EventUnitTarget()) == gv_p4_COLONISTS)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:823
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p03_DOMINION_WAREHOUSE))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:827
}
if (!((RegionContainsPoint(RegionFromId(7), UnitGetPosition(EventUnitTarget())) == true))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:838
TriggerEnable(TriggerGetCurrent(), false);
auto1FE7BFD6_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1FE7BFD6_u = UnitGroupCount(auto1FE7BFD6_g, c_unitCountAll);
for (;; auto1FE7BFD6_u -= 1) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:897
TriggerEnable(TriggerGetCurrent(), false);
auto32B93861_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto32B93861_u = UnitGroupCount(auto32B93861_g, c_unitCountAll);
for (;; auto32B93861_u -= 1) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:934
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p03_DOMINION_WAREHOUSE))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:938
}
if (!((RegionContainsPoint(RegionFromId(9), UnitGetPosition(EventUnitTarget())) == true))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:949
TriggerEnable(TriggerGetCurrent(), false);
auto9297DEB2_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto9297DEB2_u = UnitGroupCount(auto9297DEB2_g, c_unitCountAll);
for (;; auto9297DEB2_u -= 1) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:2535
}
autoF124A860_g = UnitGroup(null, UnitGetOwner(EventUnit()), RegionCircle(UnitGetPosition(EventUnitTarget()), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile) | (1 << c_targetFilterPreventDefeat), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoF124A860_u = UnitGroupCount(autoF124A860_g, c_unitCountAll);
for (;; autoF124A860_u -= 1) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:6271
// Conditions
if (testConds) {
if (!((UnitGetType(EventUnitTarget()) == "Warbot"))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:6282
TriggerEnable(TriggerGetCurrent(), false);
UnitIssueOrder(UnitFromId(68), OrderTargetingUnit(AbilityCommand("250mmStrikeCannons", 0), EventUnitTarget()), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1996
}
gv_southieTarget = EventUnitTarget();
TriggerExecute(gt_SouthieMarineattackQ, true, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:3113
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p1_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:3360
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:1001
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_p1_USER) || (UnitGetOwner(EventUnitTarget()) == gv_p1_USER)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:1533
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:2180
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:3079
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:3629
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:4626
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:1756
}
if (!(((UnitGetOwner(EventUnit()) == gv_p1_USER) || (UnitGetOwner(EventUnitTarget()) == gv_p1_USER)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:2272
// Conditions
if (testConds) {
if (!((EventUnitTarget() == gv_tHEONEDRILL))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:2180
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:2217
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:2254
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_p01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2248
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2135
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop01, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop01);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2168
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop02, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop02);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2201
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop03, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop03);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2234
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop04, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop04);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2267
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop05, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop05);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2300
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop06, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop06);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2333
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop07, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop07);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2366
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop08, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop08);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2399
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop09, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop09);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:2432
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(gv_gankGroupDrop10, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
VisRevealerDestroy(gv_revealerGankDrop10);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:1038
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_P01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_P01_USER)))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:7411
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_p1_USER) || (UnitGetOwner(EventUnitTarget()) == gv_p1_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionhydralisk.sc2map/MapScript.galaxy:1579
}
if (!((UnitGroupHasUnit(gv_impalerPlayerUnits, EventUnitTarget()) == true))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1372
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:1536
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:1422
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1222
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1741
}
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:4301
}
lv_indexHybrid = gf_HybridIndex(EventUnitTarget());
if ((lv_indexHybrid > 0)) {
if ((gv_aIHybridAttacker[lv_indexHybrid] == null)) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1133
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:1406
// Conditions
if (testConds) {
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:1419
}
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4271
TriggerEnable(TriggerGetCurrent(), false);
UnitGroupIssueOrder(UnitGroup(null, UnitGetOwner(EventUnit()), RegionFromId(55), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(EventUnitTarget())), c_orderQueueReplace);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:3371
}
if (!((UnitGetOwner(EventUnitTarget()) != gv_PLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6211
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6226
TriggerEnable(TriggerGetCurrent(), false);
UnitIssueOrder(UnitFromId(415), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(416), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(414), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6227
TriggerEnable(TriggerGetCurrent(), false);
UnitIssueOrder(UnitFromId(415), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(416), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(414), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(115), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6228
UnitIssueOrder(UnitFromId(415), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(416), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(414), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(115), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(114), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6229
UnitIssueOrder(UnitFromId(416), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(414), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(115), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(114), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6230
UnitIssueOrder(UnitFromId(414), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(115), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(114), OrderTargetingUnit(AbilityCommand("attack", 0), EventUnitTarget()), c_orderQueueReplace);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:7017
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1621
}
if (!(((UnitGetOwner(EventUnit()) == gv_pLAYER_01_USER) || (UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:4419
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:4682
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:4945
}
if (!((UnitGetOwner(EventUnitTarget()) == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:7078
// Conditions
if (testConds) {
if (!((UnitGroupHasUnit(gv_hellionWave, EventUnitTarget()) == true))) {
return false;
}