# Unit Is Attacked (Deprecated)

Grammaru is attacked
FlagsNative | Event | Hidden

This event fires when a unit is attacked. Use “Attacking Unit” to refer to the unit performing the attack. Use “Triggering Unit” to refer to the unit being attacked. Use “Triggering Player” to get the owner of the unit being attacked.

# Arguments

  • unitref<unit> — Unit

Returns — void

native void TriggerAddEventUnitAttacked(
	trigger t,
	unitref u,
);

# Event parameters

Category: Unit / Combat

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2558

void gt_AggroPassiveUnits_Init () {
    gt_AggroPassiveUnits = TriggerCreate("gt_AggroPassiveUnits_Func");
    TriggerAddEventUnitAttacked(gt_AggroPassiveUnits, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:6261

void gt_Vikingattackback_Init () {
    gt_Vikingattackback = TriggerCreate("gt_Vikingattackback_Func");
    TriggerAddEventUnitAttacked(gt_Vikingattackback, UnitRefFromUnit(UnitFromId(215)));
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:6289

void gt_Thorattackback_Init () {
    gt_Thorattackback = TriggerCreate("gt_Thorattackback_Func");
    TriggerAddEventUnitAttacked(gt_Thorattackback, UnitRefFromUnit(UnitFromId(68)));
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2004

void gt_SouthieMarineaggroStatue_Init () {
    gt_SouthieMarineaggroStatue = TriggerCreate("gt_SouthieMarineaggroStatue_Func");
    TriggerAddEventUnitAttacked(gt_SouthieMarineaggroStatue, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3134

void gt_DominionCompoundReticleKiller_Init () {
    gt_DominionCompoundReticleKiller = TriggerCreate("gt_DominionCompoundReticleKiller_Func");
    TriggerAddEventUnitAttacked(gt_DominionCompoundReticleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3393

void gt_HoloReticuleKiller_Init () {
    gt_HoloReticuleKiller = TriggerCreate("gt_HoloReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_HoloReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:1556

    gt_P1GateReticleKiller = TriggerCreate("gt_P1GateReticleKiller_Func");
    TriggerEnable(gt_P1GateReticleKiller, false);
    TriggerAddEventUnitAttacked(gt_P1GateReticleKiller, UnitRefFromUnit(UnitFromId(456)));
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2200

    gt_P1Designatorremover = TriggerCreate("gt_P1Designatorremover_Func");
    TriggerEnable(gt_P1Designatorremover, false);
    TriggerAddEventUnitAttacked(gt_P1Designatorremover, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3102

    gt_P2GateReticleKiller = TriggerCreate("gt_P2GateReticleKiller_Func");
    TriggerEnable(gt_P2GateReticleKiller, false);
    TriggerAddEventUnitAttacked(gt_P2GateReticleKiller, UnitRefFromUnit(UnitFromId(455)));
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3646

void gt_P2Designatorremover_Init () {
    gt_P2Designatorremover = TriggerCreate("gt_P2Designatorremover_Func");
    TriggerAddEventUnitAttacked(gt_P2Designatorremover, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4645

    gt_P3Designatorremover = TriggerCreate("gt_P3Designatorremover_Func");
    TriggerEnable(gt_P3Designatorremover, false);
    TriggerAddEventUnitAttacked(gt_P3Designatorremover, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4334

    gt_Combat01AttackStarted = TriggerCreate("gt_Combat01AttackStarted_Func");
    TriggerEnable(gt_Combat01AttackStarted, false);
    TriggerAddEventUnitAttacked(gt_Combat01AttackStarted, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2296

void gt_LaserSoundFiringDelay_Init () {
    gt_LaserSoundFiringDelay = TriggerCreate("gt_LaserSoundFiringDelay_Func");
    TriggerAddEventUnitAttacked(gt_LaserSoundFiringDelay, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2203

    gt_Site1ReticuleKiller = TriggerCreate("gt_Site1ReticuleKiller_Func");
    TriggerEnable(gt_Site1ReticuleKiller, false);
    TriggerAddEventUnitAttacked(gt_Site1ReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2240

    gt_Site2ReticuleKiller = TriggerCreate("gt_Site2ReticuleKiller_Func");
    TriggerEnable(gt_Site2ReticuleKiller, false);
    TriggerAddEventUnitAttacked(gt_Site2ReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2277

    gt_Site3ReticuleKiller = TriggerCreate("gt_Site3ReticuleKiller_Func");
    TriggerEnable(gt_Site3ReticuleKiller, false);
    TriggerAddEventUnitAttacked(gt_Site3ReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6010

void gt_BrutaliskReticuleKiller_Init () {
    gt_BrutaliskReticuleKiller = TriggerCreate("gt_BrutaliskReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_BrutaliskReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:818

void gt_PlayerIsInCombatbeingattacked_Init () {
    gt_PlayerIsInCombatbeingattacked = TriggerCreate("gt_PlayerIsInCombatbeingattacked_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombatbeingattacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1735

void gt_PrisonReticuleKiller_Init () {
    gt_PrisonReticuleKiller = TriggerCreate("gt_PrisonReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_PrisonReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2310

void gt_ReticuleKiller_Init () {
    gt_ReticuleKiller = TriggerCreate("gt_ReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_ReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2934

void gt_XelnagaVaultReticuleKiller_Init () {
    gt_XelnagaVaultReticuleKiller = TriggerCreate("gt_XelnagaVaultReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_XelnagaVaultReticuleKiller, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2143

void gt_Gank_Drop01_Attacked_Init () {
    gt_Gank_Drop01_Attacked = TriggerCreate("gt_Gank_Drop01_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop01_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2176

void gt_Gank_Drop02_Attacked_Init () {
    gt_Gank_Drop02_Attacked = TriggerCreate("gt_Gank_Drop02_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop02_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2209

void gt_Gank_Drop03_Attacked_Factory_Init () {
    gt_Gank_Drop03_Attacked_Factory = TriggerCreate("gt_Gank_Drop03_Attacked_Factory_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop03_Attacked_Factory, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2242

void gt_Gank_Drop04_Attacked_Init () {
    gt_Gank_Drop04_Attacked = TriggerCreate("gt_Gank_Drop04_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop04_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2275

void gt_Gank_Drop05_Attacked_Starport_Init () {
    gt_Gank_Drop05_Attacked_Starport = TriggerCreate("gt_Gank_Drop05_Attacked_Starport_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop05_Attacked_Starport, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2308

void gt_Gank_Drop06_Attacked_Init () {
    gt_Gank_Drop06_Attacked = TriggerCreate("gt_Gank_Drop06_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop06_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2341

void gt_Gank_Drop07_Attacked_Init () {
    gt_Gank_Drop07_Attacked = TriggerCreate("gt_Gank_Drop07_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop07_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2374

void gt_Gank_Drop08_Attacked_Init () {
    gt_Gank_Drop08_Attacked = TriggerCreate("gt_Gank_Drop08_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop08_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2407

void gt_Gank_Drop09_Attacked_Init () {
    gt_Gank_Drop09_Attacked = TriggerCreate("gt_Gank_Drop09_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop09_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:2440

void gt_Gank_Drop10_Attacked_Init () {
    gt_Gank_Drop10_Attacked = TriggerCreate("gt_Gank_Drop10_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop10_Attacked, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1470

void gt_RemovetheCoolantTowerPing_Init () {
    gt_RemovetheCoolantTowerPing = TriggerCreate("gt_RemovetheCoolantTowerPing_Func");
    TriggerAddEventUnitAttacked(gt_RemovetheCoolantTowerPing, null);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:4197

void gt_ProtossGetAttackedFirstSetAlliance_Init () {
    gt_ProtossGetAttackedFirstSetAlliance = TriggerCreate("gt_ProtossGetAttackedFirstSetAlliance_Func");
    TriggerAddEventUnitAttacked(gt_ProtossGetAttackedFirstSetAlliance, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2558

void gt_AggroPassiveUnits_Init () {
    gt_AggroPassiveUnits = TriggerCreate("gt_AggroPassiveUnits_Func");
    TriggerAddEventUnitAttacked(gt_AggroPassiveUnits, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:6261

void gt_Vikingattackback_Init () {
    gt_Vikingattackback = TriggerCreate("gt_Vikingattackback_Func");
    TriggerAddEventUnitAttacked(gt_Vikingattackback, UnitRefFromUnit(UnitFromId(215)));
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:6289

void gt_Thorattackback_Init () {
    gt_Thorattackback = TriggerCreate("gt_Thorattackback_Func");
    TriggerAddEventUnitAttacked(gt_Thorattackback, UnitRefFromUnit(UnitFromId(68)));
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:2004

void gt_SouthieMarineaggroStatue_Init () {
    gt_SouthieMarineaggroStatue = TriggerCreate("gt_SouthieMarineaggroStatue_Func");
    TriggerAddEventUnitAttacked(gt_SouthieMarineaggroStatue, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:3134

void gt_DominionCompoundReticleKiller_Init () {
    gt_DominionCompoundReticleKiller = TriggerCreate("gt_DominionCompoundReticleKiller_Func");
    TriggerAddEventUnitAttacked(gt_DominionCompoundReticleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:3393

void gt_HoloReticuleKiller_Init () {
    gt_HoloReticuleKiller = TriggerCreate("gt_HoloReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_HoloReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:1556

    gt_P1GateReticleKiller = TriggerCreate("gt_P1GateReticleKiller_Func");
    TriggerEnable(gt_P1GateReticleKiller, false);
    TriggerAddEventUnitAttacked(gt_P1GateReticleKiller, UnitRefFromUnit(UnitFromId(456)));
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:2200

    gt_P1Designatorremover = TriggerCreate("gt_P1Designatorremover_Func");
    TriggerEnable(gt_P1Designatorremover, false);
    TriggerAddEventUnitAttacked(gt_P1Designatorremover, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:3102

    gt_P2GateReticleKiller = TriggerCreate("gt_P2GateReticleKiller_Func");
    TriggerEnable(gt_P2GateReticleKiller, false);
    TriggerAddEventUnitAttacked(gt_P2GateReticleKiller, UnitRefFromUnit(UnitFromId(455)));
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:3646

void gt_P2Designatorremover_Init () {
    gt_P2Designatorremover = TriggerCreate("gt_P2Designatorremover_Func");
    TriggerAddEventUnitAttacked(gt_P2Designatorremover, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:4645

    gt_P3Designatorremover = TriggerCreate("gt_P3Designatorremover_Func");
    TriggerEnable(gt_P3Designatorremover, false);
    TriggerAddEventUnitAttacked(gt_P3Designatorremover, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:4334

    gt_Combat01AttackStarted = TriggerCreate("gt_Combat01AttackStarted_Func");
    TriggerEnable(gt_Combat01AttackStarted, false);
    TriggerAddEventUnitAttacked(gt_Combat01AttackStarted, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:2296

void gt_LaserSoundFiringDelay_Init () {
    gt_LaserSoundFiringDelay = TriggerCreate("gt_LaserSoundFiringDelay_Func");
    TriggerAddEventUnitAttacked(gt_LaserSoundFiringDelay, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:2203

    gt_Site1ReticuleKiller = TriggerCreate("gt_Site1ReticuleKiller_Func");
    TriggerEnable(gt_Site1ReticuleKiller, false);
    TriggerAddEventUnitAttacked(gt_Site1ReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:2240

    gt_Site2ReticuleKiller = TriggerCreate("gt_Site2ReticuleKiller_Func");
    TriggerEnable(gt_Site2ReticuleKiller, false);
    TriggerAddEventUnitAttacked(gt_Site2ReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:2277

    gt_Site3ReticuleKiller = TriggerCreate("gt_Site3ReticuleKiller_Func");
    TriggerEnable(gt_Site3ReticuleKiller, false);
    TriggerAddEventUnitAttacked(gt_Site3ReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:6010

void gt_BrutaliskReticuleKiller_Init () {
    gt_BrutaliskReticuleKiller = TriggerCreate("gt_BrutaliskReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_BrutaliskReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2mapMapScript.galaxy:818

void gt_PlayerIsInCombatbeingattacked_Init () {
    gt_PlayerIsInCombatbeingattacked = TriggerCreate("gt_PlayerIsInCombatbeingattacked_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombatbeingattacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2mapMapScript.galaxy:1735

void gt_PrisonReticuleKiller_Init () {
    gt_PrisonReticuleKiller = TriggerCreate("gt_PrisonReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_PrisonReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2mapMapScript.galaxy:2310

void gt_ReticuleKiller_Init () {
    gt_ReticuleKiller = TriggerCreate("gt_ReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_ReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2mapMapScript.galaxy:2934

void gt_XelnagaVaultReticuleKiller_Init () {
    gt_XelnagaVaultReticuleKiller = TriggerCreate("gt_XelnagaVaultReticuleKiller_Func");
    TriggerAddEventUnitAttacked(gt_XelnagaVaultReticuleKiller, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2143

void gt_Gank_Drop01_Attacked_Init () {
    gt_Gank_Drop01_Attacked = TriggerCreate("gt_Gank_Drop01_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop01_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2176

void gt_Gank_Drop02_Attacked_Init () {
    gt_Gank_Drop02_Attacked = TriggerCreate("gt_Gank_Drop02_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop02_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2209

void gt_Gank_Drop03_Attacked_Factory_Init () {
    gt_Gank_Drop03_Attacked_Factory = TriggerCreate("gt_Gank_Drop03_Attacked_Factory_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop03_Attacked_Factory, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2242

void gt_Gank_Drop04_Attacked_Init () {
    gt_Gank_Drop04_Attacked = TriggerCreate("gt_Gank_Drop04_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop04_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2275

void gt_Gank_Drop05_Attacked_Starport_Init () {
    gt_Gank_Drop05_Attacked_Starport = TriggerCreate("gt_Gank_Drop05_Attacked_Starport_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop05_Attacked_Starport, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2308

void gt_Gank_Drop06_Attacked_Init () {
    gt_Gank_Drop06_Attacked = TriggerCreate("gt_Gank_Drop06_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop06_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2341

void gt_Gank_Drop07_Attacked_Init () {
    gt_Gank_Drop07_Attacked = TriggerCreate("gt_Gank_Drop07_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop07_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2374

void gt_Gank_Drop08_Attacked_Init () {
    gt_Gank_Drop08_Attacked = TriggerCreate("gt_Gank_Drop08_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop08_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2407

void gt_Gank_Drop09_Attacked_Init () {
    gt_Gank_Drop09_Attacked = TriggerCreate("gt_Gank_Drop09_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop09_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:2440

void gt_Gank_Drop10_Attacked_Init () {
    gt_Gank_Drop10_Attacked = TriggerCreate("gt_Gank_Drop10_Attacked_Func");
    TriggerAddEventUnitAttacked(gt_Gank_Drop10_Attacked, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2mapMapScript.galaxy:1470

void gt_RemovetheCoolantTowerPing_Init () {
    gt_RemovetheCoolantTowerPing = TriggerCreate("gt_RemovetheCoolantTowerPing_Func");
    TriggerAddEventUnitAttacked(gt_RemovetheCoolantTowerPing, null);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:4197

void gt_ProtossGetAttackedFirstSetAlliance_Init () {
    gt_ProtossGetAttackedFirstSetAlliance = TriggerCreate("gt_ProtossGetAttackedFirstSetAlliance_Func");
    TriggerAddEventUnitAttacked(gt_ProtossGetAttackedFirstSetAlliance, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionhydralisk.sc2map/MapScript.galaxy:1603

    gt_FirstBarricadeUnderAttack = TriggerCreate("gt_FirstBarricadeUnderAttack_Func");
    TriggerEnable(gt_FirstBarricadeUnderAttack, false);
    TriggerAddEventUnitAttacked(gt_FirstBarricadeUnderAttack, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:2926

void gt_FirebatAttacked_Init () {
    gt_FirebatAttacked = TriggerCreate("gt_FirebatAttacked_Func");
    TriggerAddEventUnitAttacked(gt_FirebatAttacked, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1393

void gt_RemoveHarmless_Init () {
    gt_RemoveHarmless = TriggerCreate("gt_RemoveHarmless_Func");
    TriggerAddEventUnitAttacked(gt_RemoveHarmless, UnitRefFromUnit(UnitFromId(795)));
    TriggerAddEventUnitAttacked(gt_RemoveHarmless, UnitRefFromUnit(UnitFromId(115)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1394

    gt_RemoveHarmless = TriggerCreate("gt_RemoveHarmless_Func");
    TriggerAddEventUnitAttacked(gt_RemoveHarmless, UnitRefFromUnit(UnitFromId(795)));
    TriggerAddEventUnitAttacked(gt_RemoveHarmless, UnitRefFromUnit(UnitFromId(115)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:1556

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:1442

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:4595

void gt_KillHelperModelPsiBroadcaster01_Init () {
    gt_KillHelperModelPsiBroadcaster01 = TriggerCreate("gt_KillHelperModelPsiBroadcaster01_Func");
    TriggerAddEventUnitAttacked(gt_KillHelperModelPsiBroadcaster01, UnitRefFromUnit(UnitFromId(18)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1242

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:2743

void gt_VirophageAttacked_Init () {
    gt_VirophageAttacked = TriggerCreate("gt_VirophageAttacked_Func");
    TriggerAddEventUnitAttacked(gt_VirophageAttacked, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1761

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1151

void gt_InCombatCheck_Init () {
    gt_InCombatCheck = TriggerCreate("gt_InCombatCheck_Func");
    TriggerAddEventUnitAttacked(gt_InCombatCheck, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2873

void gt_Crystal1Defense_Init () {
    gt_Crystal1Defense = TriggerCreate("gt_Crystal1Defense_Func");
    TriggerAddEventUnitAttacked(gt_Crystal1Defense, UnitRefFromUnit(UnitFromId(749)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2982

void gt_Crystal2Defense_Init () {
    gt_Crystal2Defense = TriggerCreate("gt_Crystal2Defense_Func");
    TriggerAddEventUnitAttacked(gt_Crystal2Defense, UnitRefFromUnit(UnitFromId(773)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:3081

void gt_Crystal3Defense_Init () {
    gt_Crystal3Defense = TriggerCreate("gt_Crystal3Defense_Func");
    TriggerAddEventUnitAttacked(gt_Crystal3Defense, UnitRefFromUnit(UnitFromId(778)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:1426

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:1439

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4278

void gt_PowerLink1DominionReaction_Init () {
    gt_PowerLink1DominionReaction = TriggerCreate("gt_PowerLink1DominionReaction_Func");
    TriggerAddEventUnitAttacked(gt_PowerLink1DominionReaction, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:3146

void gt_PalaceGateat90_Init () {
    gt_PalaceGateat90 = TriggerCreate("gt_PalaceGateat90_Func");
    TriggerAddEventUnitAttacked(gt_PalaceGateat90, UnitRefFromUnit(UnitFromId(675)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:3243

void gt_PalaceGateat50_Init () {
    gt_PalaceGateat50 = TriggerCreate("gt_PalaceGateat50_Func");
    TriggerAddEventUnitAttacked(gt_PalaceGateat50, UnitRefFromUnit(UnitFromId(675)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:3406

void gt_HyperionAttacked_Init () {
    gt_HyperionAttacked = TriggerCreate("gt_HyperionAttacked_Func");
    TriggerAddEventUnitAttacked(gt_HyperionAttacked, UnitRefFromVariable("gv_hYPERION"));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:1802

void gt_RemoveHarmless_Init () {
    gt_RemoveHarmless = TriggerCreate("gt_RemoveHarmless_Func");
    TriggerAddEventUnitAttacked(gt_RemoveHarmless, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6237

void gt_Platform02SentryBotsReact_Init () {
    gt_Platform02SentryBotsReact = TriggerCreate("gt_Platform02SentryBotsReact_Func");
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(415)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(416)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(414)));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6238

    gt_Platform02SentryBotsReact = TriggerCreate("gt_Platform02SentryBotsReact_Func");
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(415)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(416)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(414)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(115)));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6239

    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(415)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(416)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(414)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(115)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(114)));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6240

    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(416)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(414)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(115)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(114)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:6241

    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(414)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(115)));
    TriggerAddEventUnitAttacked(gt_Platform02SentryBotsReact, UnitRefFromUnit(UnitFromId(114)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:7035

void gt_Room04KillTurretHelperAttacked_Init () {
    gt_Room04KillTurretHelperAttacked = TriggerCreate("gt_Room04KillTurretHelperAttacked_Func");
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(255)));
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(258)));
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(292)));

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:7036

    gt_Room04KillTurretHelperAttacked = TriggerCreate("gt_Room04KillTurretHelperAttacked_Func");
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(255)));
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(258)));
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(292)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:7037

    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(255)));
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(258)));
    TriggerAddEventUnitAttacked(gt_Room04KillTurretHelperAttacked, UnitRefFromUnit(UnitFromId(292)));
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1641

void gt_PlayerIsInCombat_Init () {
    gt_PlayerIsInCombat = TriggerCreate("gt_PlayerIsInCombat_Func");
    TriggerAddEventUnitAttacked(gt_PlayerIsInCombat, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:4441

void gt_QueenRescueBeingAttackedRight_Init () {
    gt_QueenRescueBeingAttackedRight = TriggerCreate("gt_QueenRescueBeingAttackedRight_Func");
    TriggerAddEventUnitAttacked(gt_QueenRescueBeingAttackedRight, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:4704

void gt_QueenRescueBeingAttackedLeft_Init () {
    gt_QueenRescueBeingAttackedLeft = TriggerCreate("gt_QueenRescueBeingAttackedLeft_Func");
    TriggerAddEventUnitAttacked(gt_QueenRescueBeingAttackedLeft, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:4967

void gt_QueenRescueBeingAttackedCenter_Init () {
    gt_QueenRescueBeingAttackedCenter = TriggerCreate("gt_QueenRescueBeingAttackedCenter_Func");
    TriggerAddEventUnitAttacked(gt_QueenRescueBeingAttackedCenter, null);
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:7153

void gt_InfestedHutRemoveHarmless_Init () {
    gt_InfestedHutRemoveHarmless = TriggerCreate("gt_InfestedHutRemoveHarmless_Func");
    TriggerAddEventUnitAttacked(gt_InfestedHutRemoveHarmless, null);
}