• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help with making an AoS

Status
Not open for further replies.
Level 2
Joined
Oct 6, 2007
Messages
19
Thanks but there´s another problem: regions,

this is the map: (<X>spawnbuilding, <:>path of the creeps, <,>rest of the map
(1).........(2)
X::::::::::X
::,,,,,,,,,,,::
::,,,,,,,,,,,::
::,,,,,,,,,,,::
X::::::::::X
(3).........(4)
how do I make 5 creeps walk from 1, 2, 4, 3 and another 5 creeps from 1, 3, 4, 2??
pls help me because without it i can´t finish the map
 
Last edited:
Level 2
Joined
Oct 6, 2007
Messages
19
tyvm it worked, in 2 weeks you can play my map (i hope) at Bnet, still making a name:p

another question:
How do i make that when the main building is dead, the unit spawn stops and they lost,
And how do i make that when theres is only 1 team left, that they won???
 
Last edited by a moderator:
For Spawn Stop:
  • Spawn Stop
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Triggering unit) Equal to (the building that spawns the units)
    • Actions
      • Trigger - Turn off (your spawn trigger)
When the building that is spawning the units dies, then you can turn off
the trigger that spawns the units for that building.

For Team Wins:
  • Spawn Stop
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Triggering unit)) Equal to (the player that controls team 1 creeps)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in (Units owned by the player that controls team 1 creeps))) Equal to 0
        • Then - Actions
          • Game - Victory Player (x) (Show dialogs, Show scores)
          • -------- ^ for all the players on the team that didnt lose ^ --------
          • Game - Defeat Player (x) with the message: Defeat!
          • -------- ^ for all the players on the team that lose ^ --------
        • Else - Actions
This will work only for when team 1 loses.
For team 2 to lose, copy this trigger and make the condition be the player owner of the creeps for team 2, and make victory for the players on team one, and the defeat for the players on team 2.

Your very welcome
 
Status
Not open for further replies.
Top