Does anyone know how to do a Random Unit Trigger cause I have no clue how to do one, if you know how please tell me.
-Razell
What do you mean?
Randomized Switches?
I mean to create random units at a location.
Randomize 6 switches; then use the binary combonations to create a unit. Bolt_Head had a great tutorial on this somewhere.
Wow that went over my head.
Errrgh.
| Trigger |
| Conditions: |
| ¤ deaths is 1 (tiem to start random unit making) |
| Actions: |
¤ Randomize Switch 1
|
¤ Randomize Switch 2
|
¤ Randomize Switch 3
|
¤ Randomize Switch 4
|
¤ Randomize Switch 5
|
¤ Randomize Switch 6
|
| ¤ set deaths to 2 |
| Trigger |
| Conditions: |
¤ Deaths is 2
|
¤ Switch 1 is clear
|
¤ Switch 2 is clear
|
¤ Switch 3 is clear
|
¤ Switch 4 is clear
|
¤ Switch 5 is clear
|
| ¤ Switch 6 is clear |
| Actions: |
¤ Make marine
|
| ¤ set deaths to 1 |
| Trigger |
| Conditions: |
¤ Deaths is 2
|
¤ Switch 1 is clear
|
¤ Switch 2 is clear
|
¤ Switch 3 is clear
|
¤ Switch 4 is clear
|
¤ Switch 5 is clear
|
| ¤ Switch 6 is set |
| Actions: |
¤ Make firebat
|
| ¤ set deaths to 1 |
| Trigger |
| Conditions: |
¤ Deaths is 2
|
¤ Switch 1 is clear
|
¤ Switch 2 is clear
|
¤ Switch 3 is clear
|
¤ Switch 4 is clear
|
¤ Switch 5 is set
|
| ¤ Switch 6 is clear |
| Actions: |
¤ Make ghost
|
| ¤ set deaths to 1 |
... and so on for all combinations of set/cleared switches. Using 6 switches give you 2^6 = 64 options. Use 7 switches and you get 128 choices.-
I only need the random units for 13 units maybe I shoulda said that earlier that is if that changes nething...I'm sorry I don't normally ask for help but this trigger makes no sense to me at all.
If you only need 13 random units andomize 4 switches and have triggers for those.
God here's a card dealer.
Ok I think I got it but I want the units to go between 4 players with one unit that only goes to one player. My map is Spades Defense and I got what you said in your post but I don't know to trigger it to start.
Wait, so in your map you have a group of units, one of which always goes to a cretain player, and the others are randomized?
I want it so the 13 units are spread out evenly 3 to each of the 4 players and 1 unit that goes to one random player.
Thats an entirly different story.
Now you need death counters for the players, then do the switch trick.
Omg I hate myself I'm sorry for not explaining fully earlier

Actually all you need is to run the randomazation trigger to do this:
-Randomize
-Pick unit from random and give it to player 1
-Randommize
-Pick unit from random and give it to player 2
Essentially do what the card dealer does except trigger it so that it stops when 1 unit left and random gives out that unit. I'm a little too tred to write out triggers in full; someone else can do that.
Thanks for all the help I'll figure it out I hope...
ADDITION: DT do I use those same triggers you posted earlier or do I need new ones? And do I need locations at all. Also what does the death counter do?
The death counter functions as a multi-position switch. THe same randomazation triggers should work.
QUOTE(DT_Battlekruser @ Oct 23 2004, 03:46 PM)
Randomize 6 switches; then use the binary combonations to create a unit. Bolt_Head had a great tutorial on this somewhere.
[right][snapback]88719[/snapback][/right]
Funny you mentioned it but never spent the minute to find it. Well here it is
http://www.staredit.net/index.php?showtopic=2851Oh Thanks Bolt_Head that was a real help I think I can implement that into my map I'm working on once again thanks for the assistance