PDA

View Full Version : [Help] Getting a random location on the map.


Mitchell
02-20-2012, 01:10
im just messing a around here, but im trying to get random locations inside the map to make like lightning bolts around the map, like a storm. i think it would be cool to know how to get a location using the map's maxsize and minsize.

Mitchell
02-21-2012, 22:23
got it :D

Impact123
02-22-2012, 05:26
May you also post your solution, so the next one who searches it and finds this thread don't have to ask.

Yours sincerely
Impact

Mitchell
02-22-2012, 14:42
well my solution is just a thought right, now, but maybe using a pre-defined box/area defined by the admin, then getting a random location in that area.