Staredit Network

Staredit Network -> UMS Assistance -> Gambling
Report, edit, etc...Posted by Falkoner on 2006-05-20 at 12:44:15
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?
Report, edit, etc...Posted by Urmom(U) on 2006-05-20 at 12:49:00
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.
Report, edit, etc...Posted by Falkoner on 2006-05-20 at 21:26:54
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
Report, edit, etc...Posted by (U)Bolt_Head on 2006-05-20 at 21:30:08
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.
Report, edit, etc...Posted by Mp)7-7 on 2006-05-21 at 08:47:58
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!
Report, edit, etc...Posted by Steel_Hand55 on 2006-05-23 at 23:41:34
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.
Next Page (1)