Use random switches. Basically you need 3 switches per player:
- P1 Randomize [Switch 1]
- P1 Rand1 [Switch 2]
- P1 Rand2 [Switch 3]
When you want to "spin the slots" (or in other words get random units), set "P1 Randomize" and then randomize "P1 Rand1" and "P1 Rand2." It should be like this:
Trigger |
Description: |
Randomize the Units |
|
Players: |
¤ Player 1 |
Conditions: |
¤ Current player brings at least 1 unit to a location that will create the units or builds a bunker that needs to be filled.
|
¤ Current player brings at most 3 men to [Location where you'll keep the units until three are made] |
Actions: |
¤ Set "P1 Randomize"
|
¤ Randomize "P1 Rand1"
|
¤ Randomize "P1 Rand2"
|
¤ Preserve trigger |
Next, you need a trigger for each outcome. Here would be a list of outcomes:
- Rand1 is Set/Rand2 is Set = Create a Marine. Re-Randomize.
- Rand1 is Set/Rand2 is Clear = Create a Firebat. Re-Randomize.
- Rand1 is Clear/Rand2 is Set = Create a Ghost. Re-Randomize.
- Rand1 is Clear/Rand2 is Clear = Re-Randomize.
Basically the Marine one would be like this:
Trigger |
Players: |
¤ Player 1 |
Conditions: |
¤ "P1 Randomize" is Set
|
¤ "P1 Rand1" is Set
|
¤ "P1 Rand2" is Set |
Actions: |
¤ Create 1 Terran Marine for Current Player at [Location where you'll keep the units until three are made]
|
¤ Randomize "P1 Rand1"
|
¤ Randomize "P1 Rand2"
|
¤ Preserve trigger |
When you have three units at the [Location where you'll keep the units until three are made] place, clear "P1 Randomize" and move the units to the bunker.