Staredit Network

Staredit Network -> UMS Assistance -> Need help with randomization
Report, edit, etc...Posted by NoPantsRepublic on 2006-07-13 at 14:42:50
How do I make a given amount of units appear at random spots at a given location? (without using random switches for 50 different locations)
Report, edit, etc...Posted by Abyx on 2006-07-13 at 14:51:15
Without using switches, a good randomizer is just having a box with a comp unit(fast or slow type, depending on what you want) and having a certain amount of locations all over the edges of the box, and have the single unit inside of it on junkyard dog roam.

If the unit goes to a location, have it do whatever you want.
Report, edit, etc...Posted by KinG_JaKe on 2006-07-13 at 15:00:34
I have never messed with any radomization, but I would see if you could create a location, then create a trigger that makes a certain unit of a computer player anywhere every so many miliseconds, then tell it to move the location to that computer's units (it could be cloaked so you wouldn't see it) Then just have that location make the number of units you would like. You would have to make sure the computer unit your centering the location on doesn't attack or move if it is cloaked, you might be able to make it one of your units you are wanting to create. tongue.gif Once again this is just something I'd test I've never done it and I'm not sure if it will work. Their is may be a simpler way, I just don't know it. -If someone post after me that this is a dumb idea go with what they say biggrin.gif

ADDITION:
You could junkyard dog that cloaked I was talking about instead of killing and creating it after so many miliseconds.
Report, edit, etc...Posted by n0b0dy- on 2006-07-13 at 16:21:36
Well, for about 50 locations, you would really only need about 7-10 switches...And switches are less important than locations, as you can use death counters also. I would stick to switches, they're truely random, and they work the best.
Report, edit, etc...Posted by Noober on 2006-07-13 at 17:06:46
Actually, you only need 6. (2^6 = 64)
Next Page (1)