• 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.

Spawning

Status
Not open for further replies.
Level 12
Joined
Mar 30, 2013
Messages
664
Hello Hivers! :goblin_yeah:

I will first talk about the basics of the maps like what players gonna do and yeah...

-Players controll their of legion, where they got their own towers and a Center. The center is where the Units can be sended.
-The players needs to send units if they are gonna have victory.
-There are 8 players, and there are team-up-game so it is: 2-2-2-2 badiclly there are teaming.
-The team got 1 Hero, so if that Hero Tower is being destroyed, that team that the hero was in was being defeated!

Ok i think i wrote the basics of it, if its more questions about it, its just to write it down.

Ok now i have a picture below as you can see click to open it and continue reading.
227524-albums6507-picture81046.jpg


As you can see on the Picture there are something i have painted a '' O '' Around something. Those places are the Centers where units can send units.
Ok The Units that they click on and wants to send spawn at the middle where you see arrows like --> and a number 2.
So when a players click on the unit it wants to spawn it spawns there and it spawns 2 of em. So my point is that they are spawning 2 south 2 east and 2 north and they walk after those arrows i have painted on the Image.
 
Level 12
Joined
Mar 30, 2013
Messages
664
It looks quite nice! But there are some questions that i hope you can answear.

1.Does it work for some sort to make like more of it? like i got 8 players that gonna use it so :p

2. I might not gonna have the, when a player have trained a unit it begones to be under controll of yellow.

3. What is the ''No select'' trigger for some?
 
Level 12
Joined
Nov 13, 2010
Messages
254
1 yes you can just keep add the same trigger you add as many as there is players

2 the one i use is to you cant move them but if you give them a skill and make them use in trigger .

3 the trigger is for not moveing units so if they stop it shout give them order to go attack


but if you made a map with 2 teams i can make the units so you can click on them but you cant move them the computer will move them 4 you
 
Last edited:
Level 12
Joined
Nov 13, 2010
Messages
254
if you make the right trigger for the Region they can pass it and go on with np

also if you keep the color to yellow you can make yellow give you gold all the time he kills

you can also make air units use Region

add this and you can keep color ( you need to make for all plays )
  • gold
    • Events
      • Player - Player 5 (Yellow)'s Current gold becomes Greater than 0.00
    • Conditions
    • Actions
      • Player - Add (Player 5 (Yellow) Current gold) to Player 1 (Red) Current gold
 
Level 12
Joined
Mar 30, 2013
Messages
664
Ok thanks :) I tried, but it only confusing me.
Ok take a look at this picture.
227524-albums6507-picture81080.jpg


If you see at the left bottom, you see a black region and under it it says 2.
What i mean with 2 is that its 2 footman for an example.
They are going to the green right one and therefor they are going north of that one.
And when they comme to the north one, they are spliting up.
So the on goes left and the other right.
And when they passed it the meet at the northern and it says 2. Means that they are together, and will therefor attack the hero that i havent added yet. (Hero tower.)
So do you know or got the triggers to do this?
 
There are many different ways to do this. One can be done by when you spawn them add them to groups one group will go right one will go left.

You can also do it by adding them to a hashtable and setting an integer value that determines were they go. Example: store value of 1 for unit a and store value of 2 for unit b. When unit enters region with split below it load that value. If it is value of one send it left. Value of 2 goes right.
 
Level 12
Joined
Nov 13, 2010
Messages
254
in that map i post i give the unit custom value you can use that to spliting them up or you can do as deathismyfriend says

you can also make a random trigger they pick when unit go in Region from 1 to 2 so when a unit go in the Region it can go life or right is random
 
I don't have the time to do it but it is relatively simple.
Using a hashtable.
Trigger 1
When you spawn your unit.
Store the units in the hashtable based on the key of the unit. The value to store for half of them use the number 1. The other half use the number 2.
Put unit at center of map.
Order unit to go to number 2

Trigger 2
Unit enter region 2
Order unit to go to split.

Trigger 3
Unit enter region split.
set temp int = load value from hashtable with triggering units key.
If temp int = 1 send left.
If it = 2 send right.

Then you are done.
 
Status
Not open for further replies.
Top