Staredit Network

Staredit Network -> UMS Assistance -> randomizing where a unit will land
Report, edit, etc...Posted by PlayaR on 2005-08-17 at 02:39:08
im working on a map called casino and i dont know how to randomize where a unit will land.... can some1 tell me the trigger for this?
Report, edit, etc...Posted by DT_Battlekruser on 2005-08-17 at 02:48:17
Land as in unload? Or land on a square?

Look in the Tutorials TB for Randomized Triggers.
Report, edit, etc...Posted by PlayaR on 2005-08-17 at 02:52:20
i mean like a unit spawning on a random location
Report, edit, etc...Posted by DT_Battlekruser on 2005-08-17 at 03:28:08
Use randomization switches to generate a random binary number, then use that to determine of the locations.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-08-17 at 16:49:42
QUOTE(DT_Battlekruser @ Aug 17 2005, 02:28 AM)
Use randomization switches to generate a random binary number, then use that to determine of the locations.
[right][snapback]290586[/snapback][/right]


I'm sure that helps [/sarcasim]

PS. I've given up on helping people with randomization. My seciton of the randomization tutorial is the best i can explain it. Short of using your example specifically and telling how how to do it.
Report, edit, etc...Posted by Sniper on 2005-08-17 at 18:09:06
Simply put: Randomizing switches

1: Pick number of switches you want to use, every switch you use is another power of 2 you add to the probability. eg, 2 switches = 2^2 = probability of 4
2^3 = probability of 8

Then in seperate triggers, set the switch condition (eg switch 1:set, switch 2:clear)
and the action you want.
Next Page (1)