• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Triggering Overload?

Status
Not open for further replies.
Level 11
Joined
Nov 12, 2006
Messages
765
So i have what i think is a lengthy trigger for what it is made for, and i want some feed back on it. It is for my risk map. Its function is to move the killing unit inside a circle of power to capture a region if their is no other unit inside. Sometimes in my map when a unit is killed and the killer unit is supposed to go inside the COP the city and tower become neutral victim instead of changing ownership to the owner of the killing unit.

  • Events
    • Unit - A unit owned by Player 1 (Red) Dies
    • Unit - A unit owned by Player 2 (Blue) Dies
    • Unit - A unit owned by Player 3 (Teal) Dies
    • Unit - A unit owned by Player 4 (Purple) Dies
    • Unit - A unit owned by Player 5 (Yellow) Dies
    • Unit - A unit owned by Player 6 (Orange) Dies
    • Unit - A unit owned by Player 7 (Green) Dies
    • Unit - A unit owned by Player 8 (Pink) Dies
    • Unit - A unit owned by Player 9 (Gray) Dies
    • Unit - A unit owned by Player 10 (Light Blue) Dies
    • Unit - A unit owned by Player 11 (Dark Green) Dies
    • Unit - A unit owned by Player 12 (Brown) Dies
  • Actions
    • Unit - Change ownership of (Triggering unit) to Neutral Victim and Retain color
    • If (((Hoth Echo Base <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Echo Base <gen> owned by (Owner of Hoth - Echo Base 0001 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Hoth Echo Base <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Ion Cannon <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Ion Cannon <gen> owned by (Owner of Hoth - Ion Cannon 0003 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Hoth Ion Cannon <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Wampa Lair <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Wampa Lair <gen> owned by (Owner of Hoth - Wampa Lair 0005 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Hoth Wampa Lair <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth North Ridge <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth North Ridge <gen> owned by (Owner of Hoth - North Ridge 0006 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Hoth North Ridge <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Frozen Plain <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Frozen Plain <gen> owned by (Owner of Hoth - Frozen Plane 0002 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Hoth Frozen Plain <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Shield Generator <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Shield Generator <gen> owned by (Owner of Hoth - Shield Generator 0004 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turre then do (Unit - Move (Killing unit) instantly to (Center of Hoth Shield Generator <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Endor Happy Tree Village <gen> contains (Triggering unit)) Equal to True) and ((((Units in Endor Happy Tree Village <gen> owned by (Owner of Endor Moon - Bright Tree Village 0012 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal then do (Unit - Move (Killing unit) instantly to (Center of Endor Happy Tree Village <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Endor Landing Platform <gen> contains (Triggering unit)) Equal to True) and ((((Units in Endor Landing Platform <gen> owned by (Owner of Endor Moon - Landing Platform 0014 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Las then do (Unit - Move (Killing unit) instantly to (Center of Endor Landing Platform <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Endor Bunker <gen> contains (Triggering unit)) Equal to True) and ((((Units in Endor Bunker <gen> owned by (Owner of Endor Moon - Bunker 0013 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Endor Bunker <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Endor Hanging Moss Village <gen> contains (Triggering unit)) Equal to True) and ((((Units in Endor Hanging Moss Village <gen> owned by (Owner of Endor Moon - Hanging Moss Village 0015 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not then do (Unit - Move (Killing unit) instantly to (Center of Endor Hanging Moss Village <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Naboo Hanger <gen> contains (Triggering unit)) Equal to True) and ((((Units in Naboo Hanger <gen> owned by (Owner of Naboo - Hanger 0020 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Naboo Hanger <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Naboo Theed <gen> contains (Triggering unit)) Equal to True) and ((((Units in Naboo Theed <gen> owned by (Owner of Naboo - Theed 0019 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Naboo Theed <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Naboo Plains <gen> contains (Triggering unit)) Equal to True) and ((((Units in Naboo Plains <gen> owned by (Owner of Naboo - Grassy Plains 0017 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Naboo Plains <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Naboo Sacred Place <gen> contains (Triggering unit)) Equal to True) and ((((Units in Naboo Sacred Place <gen> owned by (Owner of Naboo - Sacred Place 0018 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Naboo Sacred Place <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Naboo Otoh Gunga <gen> contains (Triggering unit)) Equal to True) and ((((Units in Naboo Otoh Gunga <gen> owned by (Owner of Naboo - Otoh Gunga 0016 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Naboo Otoh Gunga <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Geonosis Hive <gen> contains (Triggering unit)) Equal to True) and ((((Units in Geonosis Hive <gen> owned by (Owner of Geonosis - Stalgasin Hive 0039 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Geonosis Hive <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Geonosis War Room <gen> contains (Triggering unit)) Equal to True) and ((((Units in Geonosis War Room <gen> owned by (Owner of Geonosis - Sepertist War Room 0036 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret) then do (Unit - Move (Killing unit) instantly to (Center of Geonosis War Room <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Geonosis Areana <gen> contains (Triggering unit)) Equal to True) and ((((Units in Geonosis Areana <gen> owned by (Owner of Geonosis - Petranaki Arena 0035 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Geonosis Areana <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Geonosis Badlands <gen> contains (Triggering unit)) Equal to True) and ((((Units in Geonosis Badlands <gen> owned by (Owner of Geonosis - Badlands of N'g'zi 0037 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret) then do (Unit - Move (Killing unit) instantly to (Center of Geonosis Badlands <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Geonosis Droid Foundry <gen> contains (Triggering unit)) Equal to True) and ((((Units in Geonosis Droid Foundry <gen> owned by (Owner of Geonosis - Droid Foundry 0038 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Tu then do (Unit - Move (Killing unit) instantly to (Center of Geonosis Droid Foundry <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Tatooine Jabbas Palace <gen> contains (Triggering unit)) Equal to True) and ((((Units in Tatooine Jabbas Palace <gen> owned by (Owner of Tatooine - Jabbas Palace 0021 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Tu then do (Unit - Move (Killing unit) instantly to (Center of Tatooine Jabbas Palace <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Tatooine Wattos Shop <gen> contains (Triggering unit)) Equal to True) and ((((Units in Tatooine Wattos Shop <gen> owned by (Owner of Tatooine - Wattos Shop 0023 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret)) then do (Unit - Move (Killing unit) instantly to (Center of Tatooine Wattos Shop <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Tatooine Mos Eisley <gen> contains (Triggering unit)) Equal to True) and ((((Units in Tatooine Mos Eisley <gen> owned by (Owner of Tatooine - Mos Eisley 0025 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Tatooine Mos Eisley <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Tatooine Tasche Station <gen> contains (Triggering unit)) Equal to True) and ((((Units in Tatooine Tasche Station <gen> owned by (Owner of Tatooine - Tosche Station 0026 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser then do (Unit - Move (Killing unit) instantly to (Center of Tatooine Tasche Station <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Tatooine Tusken Camp <gen> contains (Triggering unit)) Equal to True) and ((((Units in Tatooine Tusken Camp <gen> owned by (Owner of Tatooine - Tusken Raider Camp 0024 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser T then do (Unit - Move (Killing unit) instantly to (Center of Tatooine Tusken Camp <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Tatooine Jawa Camp <gen> contains (Triggering unit)) Equal to True) and ((((Units in Tatooine Jawa Camp <gen> owned by (Owner of Tatooine - Jawa Camp 0022 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Tatooine Jawa Camp <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Cloud City Platform <gen> contains (Triggering unit)) Equal to True) and ((((Units in Cloud City Platform <gen> owned by (Owner of Cloud City - Platform 327 0034 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret) then do (Unit - Move (Killing unit) instantly to (Center of Cloud City Platform <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Cloud City Hotel <gen> contains (Triggering unit)) Equal to True) and ((((Units in Cloud City Hotel <gen> owned by (Owner of Cloud City - Grand Bespin Hotel 0033 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret) then do (Unit - Move (Killing unit) instantly to (Center of Cloud City Hotel <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Cloud City Carbon Chamber <gen> contains (Triggering unit)) Equal to True) and ((((Units in Cloud City Carbon Chamber <gen> owned by (Owner of Cloud City - Carbon Freezing Chamber 0031 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not then do (Unit - Move (Killing unit) instantly to (Center of Cloud City Carbon Chamber <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Cloud City Air Shaft <gen> contains (Triggering unit)) Equal to True) and ((((Units in Cloud City Air Shaft <gen> owned by (Owner of Cloud City - Air Shaft 0030 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret)) then do (Unit - Move (Killing unit) instantly to (Center of Cloud City Air Shaft <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Cloud City Dineing Room <gen> contains (Triggering unit)) Equal to True) and ((((Units in Cloud City Dineing Room <gen> owned by (Owner of Cloud City - Dineing Room 0032 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser then do (Unit - Move (Killing unit) instantly to (Center of Cloud City Dineing Room <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Dagobah Dragon Bog <gen> contains (Triggering unit)) Equal to True) and ((((Units in Dagobah Dragon Bog <gen> owned by (Owner of Dagobah - Dragonsnake Bog 0028 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Hydra))) then do (Unit - Move (Killing unit) instantly to (Center of Dagobah Dragon Bog <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Dagobah Yodas Hut <gen> contains (Triggering unit)) Equal to True) and ((((Units in Dagobah Yodas Hut <gen> owned by (Owner of Dagobah - Yodas Hut 0029 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Hydra))) then do (Unit - Move (Killing unit) instantly to (Center of Dagobah Yodas Hut <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Dagobah Dark Side Cave <gen> contains (Triggering unit)) Equal to True) and ((((Units in Dagobah Dark Side Cave <gen> owned by (Owner of Dagobah - Dark Side Cave 0027 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Hydra))) then do (Unit - Move (Killing unit) instantly to (Center of Dagobah Dark Side Cave <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mustafar Enclave <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mustafar Enclave <gen> owned by (Owner of Mustafar - Jedi Enclave 0128 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mustafar Enclave <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mustafar Kleggar <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mustafar Kleggar <gen> owned by (Owner of Mustafar - Klegger Mining Facility 0129 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turr then do (Unit - Move (Killing unit) instantly to (Center of Mustafar Kleggar <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mustafar Berkins Flow <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mustafar Berkins Flow <gen> owned by (Owner of Mustafar - Berken's Flow 0126 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turr then do (Unit - Move (Killing unit) instantly to (Center of Mustafar Berkins Flow <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mustafar Mentrix <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mustafar Mentrix <gen> owned by (Owner of Mustafar - Mensix Mining Facility 0130 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turre then do (Unit - Move (Killing unit) instantly to (Center of Mustafar Mentrix <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mustafar Burning Plains <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mustafar Burning Plains <gen> owned by (Owner of Mustafar - Burning Plains 0127 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser then do (Unit - Move (Killing unit) instantly to (Center of Mustafar Burning Plains <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Polis Massa Base <gen> contains (Triggering unit)) Equal to True) and ((((Units in Polis Massa Base <gen> owned by (Owner of Polis Massa - Base 0131 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Polis Massa Base <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kamino Su Des <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kamino Su Des <gen> owned by (Owner of Kamino - Su Des 0011 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kamino Su Des <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kamino Derem City <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kamino Derem City <gen> owned by (Owner of Kamino - Derem City 0117 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kamino Derem City <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kamino Tipoca City <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kamino Tipoca City <gen> owned by (Owner of Kamino - Tipoca City 0010 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kamino Tipoca City <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kamino Baren Wu <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kamino Baren Wu <gen> owned by (Owner of Kamino - Baran Wu 0044 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kamino Baren Wu <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mechis III IG88 Lair <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mechis III IG88 Lair <gen> owned by (Owner of Mechis III - IG-88s Lair 0156 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret then do (Unit - Move (Killing unit) instantly to (Center of Mechis III IG88 Lair <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mechis III Nym Factory <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mechis III Nym Factory <gen> owned by (Owner of Mechis III - Nym's Factory Compound 0158 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal then do (Unit - Move (Killing unit) instantly to (Center of Mechis III Nym Factory <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mechis III Arakyd <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mechis III Arakyd <gen> owned by (Owner of Mechis III - Arakyd Facility 0157 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret)) then do (Unit - Move (Killing unit) instantly to (Center of Mechis III Arakyd <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mygeeto Jygat <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mygeeto Jygat <gen> owned by (Owner of Mygeeto - Jygat 0150 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mygeeto Jygat <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mygeeto Confederacy Base <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mygeeto Confederacy Base <gen> owned by (Owner of Mygeeto - Confederacy Base 0149 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to La then do (Unit - Move (Killing unit) instantly to (Center of Mygeeto Confederacy Base <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mygeeto Crystal Cave <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mygeeto Crystal Cave <gen> owned by (Owner of Mygeeto - Crystal Cave 0148 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret)) then do (Unit - Move (Killing unit) instantly to (Center of Mygeeto Crystal Cave <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mygeeto Energy Coll <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mygeeto Energy Coll <gen> owned by (Owner of Mygeeto - Energy Collector 0151 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret then do (Unit - Move (Killing unit) instantly to (Center of Mygeeto Energy Coll <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kashyyyk Kahiyuk <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kashyyyk Kahiyuk <gen> owned by (Owner of Kashyyyk - Kahiyuk 0146 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kashyyyk Kahiyuk <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kashyyyk Warralokk <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kashyyyk Warralokk <gen> owned by (Owner of Kashyyyk - Warralokk 0169 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kashyyyk Warralokk <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kashyyyk Grunnrurr <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kashyyyk Grunnrurr <gen> owned by (Owner of Kashyyyk - Grunnrurr 0144 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kashyyyk Grunnrurr <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kashyyyk Rowrakruk <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kashyyyk Rowrakruk <gen> owned by (Owner of Kashyyyk - Rowrakruk 0147 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kashyyyk Rowrakruk <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Kashyyyk Kachirho <gen> contains (Triggering unit)) Equal to True) and ((((Units in Kashyyyk Kachirho <gen> owned by (Owner of Kashyyyk - Kachirho 0145 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Kashyyyk Kachirho <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Utapau Pau City <gen> contains (Triggering unit)) Equal to True) and ((((Units in Utapau Pau City <gen> owned by (Owner of Utapau - Pau City 0187 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Utapau Pau City <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Utapau Promenade <gen> contains (Triggering unit)) Equal to True) and ((((Units in Utapau Promenade <gen> owned by (Owner of Utapau - Promenade 0188 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Utapau Promenade <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Utapau Pahum <gen> contains (Triggering unit)) Equal to True) and ((((Units in Utapau Pahum <gen> owned by (Owner of Utapau - Pahum 0186 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Utapau Pahum <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Utapau Core Ship <gen> contains (Triggering unit)) Equal to True) and ((((Units in Utapau Core Ship <gen> owned by (Owner of Utapau - Core Ship 0185 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Utapau Core Ship <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Peragus Mining <gen> contains (Triggering unit)) Equal to True) and ((((Units in Peragus Mining <gen> owned by (Owner of Peragus - Mining Facility 0180 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Peragus Mining <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Peragus Dorm <gen> contains (Triggering unit)) Equal to True) and ((((Units in Peragus Dorm <gen> owned by (Owner of Peragus - Dormitories 0181 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Peragus Dorm <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Peragus Control <gen> contains (Triggering unit)) Equal to True) and ((((Units in Peragus Control <gen> owned by (Owner of Peragus - Control Room 0182 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Peragus Control <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mandalore Resistince Camp <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mandalore Resistince Camp <gen> owned by (Owner of Mandalore - Resistince Camp 0211 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to then do (Unit - Move (Killing unit) instantly to (Center of Mandalore Resistince Camp <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mandalore Keldabe <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mandalore Keldabe <gen> owned by (Owner of Mandalore - Keldabe 0212 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mandalore Keldabe <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mandalore Kelita <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mandalore Kelita <gen> owned by (Owner of Mandalore - Kelita River 0210 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mandalore Kelita <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mandalore Kyrimourt <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mandalore Kyrimourt <gen> owned by (Owner of Mandalore - Kyrimorut 0215 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mandalore Kyrimourt <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mandalore City of Bone <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mandalore City of Bone <gen> owned by (Owner of Mandalore - City of Bone 0214 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Tu then do (Unit - Move (Killing unit) instantly to (Center of Mandalore City of Bone <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mandalore Enceri <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mandalore Enceri <gen> owned by (Owner of Mandalore - Enceri 0213 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mandalore Enceri <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Asteroid Exogorth <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Asteroid Exogorth <gen> owned by (Owner of Hoth Asteroid - Exogorth 0201 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Hydra))) then do (Unit - Move (Killing unit) instantly to (Center of Hoth Asteroid Exogorth <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Asteroid Mining <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Asteroid Mining <gen> owned by (Owner of Hoth Asteroid - Ore Mining 0202 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turr then do (Unit - Move (Killing unit) instantly to (Center of Hoth Asteroid Mining <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Hoth Asteroid Hideout <gen> contains (Triggering unit)) Equal to True) and ((((Units in Hoth Asteroid Hideout <gen> owned by (Owner of Hoth Asteroid - Hideout 0203 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turre then do (Unit - Move (Killing unit) instantly to (Center of Hoth Asteroid Hideout <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mon Calamari Pisces <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mon Calamari Pisces <gen> owned by (Owner of Mon Calamari - Pisces Base 0232 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret then do (Unit - Move (Killing unit) instantly to (Center of Mon Calamari Pisces <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mon Calamari Orotoru <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mon Calamari Orotoru <gen> owned by (Owner of Mon Calamari - Orotoru G'am 0231 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Tur then do (Unit - Move (Killing unit) instantly to (Center of Mon Calamari Orotoru <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mon Calamari Trench <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mon Calamari Trench <gen> owned by (Owner of Mon Calamari - Murul Trench 0230 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turre then do (Unit - Move (Killing unit) instantly to (Center of Mon Calamari Trench <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mon Calamari Coral <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mon Calamari Coral <gen> owned by (Owner of Mon Calamari - Coral City 0228 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mon Calamari Coral <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Mon Calamari Kee <gen> contains (Triggering unit)) Equal to True) and ((((Units in Mon Calamari Kee <gen> owned by (Owner of Mon Calamari - Kee-Piru 0229 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Mon Calamari Kee <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Temple Chamber <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Temple Chamber <gen> owned by (Owner of Coruscant - High Council Chamber 0259 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Temple Chamber <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Jedi Temple <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Jedi Temple <gen> owned by (Owner of Coruscant - Jedi Temple 0262 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turre then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Jedi Temple <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Imperial Palace <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Imperial Palace <gen> owned by (Owner of Coruscant - Imperial Palace 0250 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Imperial Palace <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Monument <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Monument <gen> owned by (Owner of Coruscant - Monument Plaza 0247 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret)) then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Monument <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Senate Building <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Senate Building <gen> owned by (Owner of Coruscant - Senate Building 0248 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Senate Building <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Galactic City <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Galactic City <gen> owned by (Owner of Coruscant - Galactic City 0244 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Galactic City <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Skydome <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Skydome <gen> owned by (Owner of Coruscant - Skydome 0249 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Skydome <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Coruscant Eastport <gen> contains (Triggering unit)) Equal to True) and ((((Units in Coruscant Eastport <gen> owned by (Owner of Coruscant - Eastport 0243 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Coruscant Eastport <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Maw Lab A <gen> contains (Triggering unit)) Equal to True) and ((((Units in Maw Lab A <gen> owned by (Owner of Maw Installation - Lab Module A 0271 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Maw Lab A <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Maw Hub <gen> contains (Triggering unit)) Equal to True) and ((((Units in Maw Hub <gen> owned by (Owner of Maw Installation - Hub 0268 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Maw Hub <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Maw Cooling <gen> contains (Triggering unit)) Equal to True) and ((((Units in Maw Cooling <gen> owned by (Owner of Maw Installation - Cooling Tower 0074 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Maw Cooling <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Maw Lab B <gen> contains (Triggering unit)) Equal to True) and ((((Units in Maw Lab B <gen> owned by (Owner of Maw Installation - Lab Module B 0272 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Maw Lab B <gen>), facing Default building facing degrees) else do (Do nothing)
    • If (((Maw Garrison <gen> contains (Triggering unit)) Equal to True) and ((((Units in Maw Garrison <gen> owned by (Owner of Maw Installation - Imperial Garrison 0270 <gen>)) is empty) Equal to True) and ((Unit-type of (Killing unit)) Not equal to Laser Turret))) then do (Unit - Move (Killing unit) instantly to (Center of Maw Garrison <gen>), facing Default building facing degrees) else do (Do nothing)

now because their is 11 players this trigger is run frequently. what im wondering is if it happens multiple times in a short period of time, will it not work for some unlucky player causing the city/tower not to change correct ownership? or is that problem due to another reason? +rep and thanks to anyone who can contribute!

ps. i know i should of made the If/then/else multiple instead of for just one. my bad.
 
Level 6
Joined
Jun 7, 2006
Messages
23
back when i started making risk maps, i've heard of the same problem.
It happens when a unit kills the last defender and the killer is made defender and dies milliseconds later when he is killed by tower. Because the killer is made neutral victim by your triggers, the tower also changes to neutral victim.

Without explaining too much boring stuff why and what else is the problem here, i just give you an easy solution so you just have to change little:

replace the "change to neutral victim" action with "remove dying unit".

(the general problem with you triggers is that they were made like 5 years ago when people had no idea what the world editor could do)
 
Level 8
Joined
May 21, 2008
Messages
218
Unit - Move (Killing unit) instantly to (Center of Maw Garrison <gen>), facing Default building facing degrees

(Center of Maw Garrison <gen>) leaks

Fix it by doing

set temp_point = Center of Maw Garrison <gen>
Unit - Move (Killing unit) instantly to (temp_point), facing Default building facing degrees
(custom script) call RemoveLocation (udg_temp_point)

and repeat for each
 
Status
Not open for further replies.
Top