Zerg Egg Rally Points system in wc3!!

sunshinex3

You can change this now in User CP.
Before you trigger create the egg give it negative health regeneration(Shift+Click)
then give it the ability rally, and if you want makes it invulnerable.
(also obviously make a hatchery building mine was a town hall)

(also i wanted my zerg to be bought like mercenaries cuz that's how it is in starcraft)
to get your eggs not to land on top of each other your going to have to remove their movement after they are spawned.
Trigger:
  • Zerg DisableMove
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Selling unit)) Equal to Hatchery (zerg)
          • (Unit-type of (Selling unit)) Equal to Colony (zerg)
          • (Unit-type of (Selling unit)) Equal to Hive (zerg)
    • Actions
      • Custom script: call UnitRemoveAbility(GetSoldUnit(), 'Amov')



Now to address the rally point or rather rally points*
(hatchery needs the rally ability and this trigger will set the eggs rally point to the hatcheries rally point it will also allow drones to harvest wood(but needs the next trigger to pull that off))
Trigger:
  • Zerg Rally
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Selling unit)) Equal to Hatchery (zerg)
          • (Unit-type of (Selling unit)) Equal to Colony (zerg)
          • (Unit-type of (Selling unit)) Equal to Hive (zerg)
    • Actions
      • Set VariableSet TempPoint = (Rally-Point of (Selling unit) as a point)
      • Set VariableSet TempBool3 = False
      • Destructible - Pick every destructible within 50.00 of TempPoint and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Picked destructible) Equal to (Rally-Point of (Selling unit) as a destructible)
            • Then - Actions
              • Set VariableSet TempBool3 = True
              • Unit - Order (Sold unit) to Right-Click (Picked destructible)
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempBool3 Equal to False
        • Then - Actions
          • Unit - Set Rally-Point for (Sold unit) to TempPoint
        • Else - Actions
      • Custom script: call RemoveLocation (udg_TempPoint)


you will need the drones to be able to collect wood and lumber using the rally point

Trigger:
  • Zerg Rally Worker
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (drone)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (drone colony)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (drone Hive)
    • Actions
      • Set VariableSet TempPoint = (Rally-Point of (Summoning unit) as a point)
      • Set VariableSet TempBool = False
      • Set VariableSet TempBool2 = False
      • Set VariableSet TempUnitGroup = (Units within 50.00 of TempPoint.)
      • Unit Group - Pick every unit in TempUnitGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Picked unit)) Equal to Gold Mine
            • Then - Actions
              • Set VariableSet TempBool = True
              • Set VariableSet TempBool2 = True
              • Unit - Order (Summoned unit) to Right-Click (Picked unit)
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempBool Equal to False
        • Then - Actions
          • Destructible - Pick every destructible within 50.00 of TempPoint and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Picked destructible) Equal to (Rally-Point of (Summoning unit) as a destructible)
                • Then - Actions
                  • Set VariableSet TempBool2 = True
                  • Unit - Order (Summoned unit) to Right-Click (Picked destructible)
                • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempBool2 Equal to False
        • Then - Actions
          • Unit - Order (Summoned unit) to Move To TempPoint
        • Else - Actions
      • Custom script: call RemoveLocation (udg_TempPoint)
      • Custom script: call DestroyGroup(udg_TempUnitGroup)


now the rest of the zerg units need to use the rally points their more basic however

Trigger:
  • Zerg Rally Move Summond
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Hydralisk colony)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Hydralisk hive)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Hydralisk)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Immortalisk)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Impalarisk)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Predling black claws)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Predling)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Scorpling)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Swarmling Cloning)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Ultralisk Hive)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Ultralisk colony)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (Ultralisk)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (atrocilisk)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (lurkerlisk)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (roachling)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (scanthid colony)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (scanthid hive)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (scanthid)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (swarmling)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (swarmling3 black claws)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (zergling Hive)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (zergling blackclaws)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (zergling colony)
          • (Unit-type of (Summoning unit)) Equal to Zerg Egg (zergling)
    • Actions
      • Set VariableSet TempPoint = (Rally-Point of (Summoning unit) as a point)
      • Unit - Order (Summoned unit) to Move To TempPoint
      • Custom script: call RemoveLocation (udg_TempPoint)

This system was made possible by Ghan
thank you Ghan!!

Trigger:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Blackveiled Blackveiled:
    count on it then cause you don't live that far from me hah
  • The Helper The Helper:
    really that is cool!
  • The Helper The Helper:
    Hey Tom I added a new Weird tag to the News Prefixes
  • The Helper The Helper:
    What is up Blackveiled?
  • Blackveiled Blackveiled:
    Chillin', lurkin'. :D
  • The Helper The Helper:
    I am working on a bunch of site projects right now doing a bunch of behind the scenes stuff and trying to clean up some stuff that I let slide when I got lazy with the site for a few years...
  • The Helper The Helper:
    Are you in Houston Blackveiled or just in Texas?
  • Blackveiled Blackveiled:
    Houston
  • Blackveiled Blackveiled:
    I've been living here since 2014.
  • The Helper The Helper:
    OK banlord we need to get together soon! The only other member of the site I know in Houston is XXX Conan
  • The Helper The Helper:
    and he does not want none lol
  • The Helper The Helper:
    he put up a picture of his mom one time and she was HOT!
  • The Helper The Helper:
    I wish we still had that
  • Blackveiled Blackveiled:
    Lmao you scared him off I see.
  • The Helper The Helper:
    he will be back
  • The Helper The Helper:
    Conan was like 12 when he started here
  • The Helper The Helper:
    I literally think I was his male role model
  • Blackveiled Blackveiled:
    Yeah I was 12 when I started here as well.
  • The Helper The Helper:
    you guys were just kids
  • The Helper The Helper:
    I was in my 30s when i got the Blizzard MVP
  • The Helper The Helper:
    I am 53
  • Wizard Wizard:
    Happy Birthday!
  • The Helper The Helper:
    not my birthday
  • The Helper The Helper:
    but thanks lol
  • Blackveiled Blackveiled:
    and I'll be 30 in January lmao

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top