Uh. You don't need to draw out combinations. It is just binary... And 6 switches is
exactly 64 combinations.
Here they all are (0=cleared, 1=set):
000000, 000001, 000010, 000011, 000100, 000101, 000110, 000111, 001000, 001001, 001010, 001011, 001100, 001101, 001110, 001111, 010000, 010001, 010010, 010011, 010100, 010101, 010110, 010111, 011000, 011001, 011010, 011011, 011100, 011101, 011110, 011111, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 100111, 101000, 101001, 101010, 101011, 101100, 101101, 101110, 101111, 110000, 110001, 110010, 110011, 110100, 110101, 110110, 110111, 111000, 111001, 111010, 111011, 111100, 111101, 111110, 111111
And an easier way to do it is like this:
Conditions:
- (Randomization init)
Actions
Set deaths to 0
Randomize switch 1
Randomize switch 2
Randomize switch 3
Randomize switch 4
... (et cetera)
Conditions:
- Switch 1 is set
Actions:
- Add 1 Death
Conditions:
- Switch 2 is set
Actions:
- Add 2 Deaths
Conditions:
- Switch 3 is set
Actions:
- Add 4 Deaths
Conditions:
- Switch 4 is set
Actions:
- Add 8 Deaths
(etc., the deaths added doubling each switch.)
Then to do an action for each randomization, you can do at least and at most for weighted outcomes, or use "exatly" for specific outcomes.
And the way to tell the possible number of outcomes is 2^(number of switches). 7 switches would be 128 possibilities. 200 switches would be about 1.61x10
60.
Post has been edited 1 time(s), last time on Jun 15 2008, 6:12 am by FaRTy1billion.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!