I'm trying to set up a gambling system, but I can't create larva so I can't randomize it with that, can someone plz show the triggers I would need to make it so you randomely get 1 of 10 diferent amounts of minerals?
All that you need to do is use switched. You need 5 switches total, 4 for randomization and 1 for clearing and setting the trigger. It would go like this:
Switch1 is cleared
(Other conditions to start randomization)
---------------------
Set Switch 1
Randomize Switch 2,3,4,5
Preserve Trigger
Switch 1 is Set
Switch 2 is set
Switch 3 is set
Switch 4 is set
Switch 5 is set
------------------
Clear Switch 1
Actions
Then you would have to do all the possible combinations for switches 2-5. If you have an excess amount of triggers for the actions, just have the trigger re-randomize everything.
Thx, I plan on only using 4 actually, I don't really need to have 10, because if certain things aren't more likely to happen I don't need that, thx again!
P.S. I realized after I deleted the old triggers that I coulda used a Ragnasaur instead of a larva, lol, oh well
You could also use the junkyard dog AI except its it would be hard to randomize between 10 differant things with junkyard dog. And I don't know how "random" it would be.
You could either set a trigger for switches like urmom said by setting 2 minerals for switch 1 and 4 for switch 2 and 6 for switch 3 and 8 for switch 4 then have it run through the triggers of switching sets between 1 and 4.
Or you could use any unit and have it set AI script at location (junkyard dog) and have location for it to run over and dpending on the location it would give them that many minerals or whatever. I think you already kow this but just to explain it a little better!
urmom's way works fine, and i don't really see any good in using a ragnasaur or some other critter; it'd take a while to 'roll' while the stupid thing wanders around. i've used urmom's (kenoli's?) way, and it works perfectly.