lol i know, but u guys are really teaching me stuff.

ty
ADDITION:
tutorial is puzzling, like randomizing a switch, can u explain in a diffway?
There are three different ways listed in that tutorial.
WOW That Tutorial Really Makes Me Wanna Add Random Unit Spawn To My Maps!!!
w00t
QUOTE(SiLeNt-SwiFt @ May 3 2005, 05:36 PM)
ADDITION:
tutorial is puzzling, like randomizing a switch, can u explain in a diffway?
[right][snapback]200391[/snapback][/right]
No i wrote it (the switch part anyways), I don't think i can explain it in a better way and hope for you to understand it.
The only "better" i could make it would be to explain how to do your situation specifically. And that is pointless.
Just want to clarify something. Do you want the six units to randomly be created in any of the locations or do you want the six units all to have their own location that they are created in and randomize that? Because one method requires about 8 triggers while the other requires about 38.
The way i understand it each of the 6 locations would receave a random unit out of those 3.
Oh I misread his post. Let me try to explain randomization using switches a different way.
First, just think of a switch as a light switch. It can be ON (set) or OFF (cleared). By default it is OFF (cleared). Since Starcraft lets us randomize switches, we can randomize them then do actions based off the outcome of the randomization. So to randomize what unit you would use, would you use 1 switch? (Two possible outcomes, ON or OFF) Or 2 switches? (Four possibly outcomes, OFF OFF, OFF ON, ON OFF, or ON ON). It would have to be 2 switches, since you're using 3 units.
So let's take 3 switches right now so we can use 1 switch to control the randomization.
Switch 1 renamed to RandomOn
Switch 2 renamed to UnitSpawn1
Switch 3 renamed to UnitSpawn2
When you are ready to create the units, just turn on (set) RandomOn.
C:
RandomOn is set. (ON)
A:
Randomize UnitSpawn1.
Randomize UnitSpawn2.
Preserve trigger.
Now that they are randomized (they each can be ON or OFF right now) you would make the outcome triggers.
C:
UnitSpawn1 is cleared. (OFF)
UnitSpawn2 is cleared. (OFF)
A:
Create 1 'Unit1' at "Holding box" for Player.
Preserve trigger.
Then you would make OFF ON create Unit2, and ON OFF create unit 3. Then you would have a trigger that says something like:
C:
Player brings at least 6 any unit to "Holding Box".
A:
Clear RandomOn. (Turn it OFF)
Preserve trigger.
Then you would continue the same process but with the locations. And you would simply move 1 unit from the holding box to the locations.
6 diff locations 6 random units
this is getting confusing.
so each location spawns 6 different unit
or each location creats 1 random unit
or its neither.
Which one is it?
1 location creates ONE random unit (6 locations)
so you have 6 units, and 6 locations and it just randomly puts any one of the 6 units at any one of the 6 locations? so you always end up with each different unit, so like one time it would have Unit1 at location3, Unit2 at location1, Unit3 at location5, Unit4 at location2, Unit5 at location6, Unit6 at location4?
Ok so you want to have one of those 3 units selected at random and to be created at each one of those 6 locations?
Ok So i'm joking. But there really are alot of differant ways you could randomize that.
Say for and example you wanted 2 of each unit one to be placed at each of the 6 locations at random. That would be quite differant than randomizing between the 3 units for each location.
Then you always have the question "do you want a unit at EACH location?" Or do you want it to vary depending on how many players you have in the game?
Do you want the units spawned at the same 6 locations every time? or 6 Random places among a larger preselected area.
I guess my point is exactly what is randomized changes the outcome alot. You want to randomly choose from those 3 units. You want to do it 6 times and place the units one at each of the 6 locations.
[/End Rant]
Anyways the triggers Chu listed will do what your intending on doing.