random places pickup=?
#1

Is it possible to do pickup weaps that appear in random places in my minigame?
Reply
#2

Yes its possible
Reply
#3

example please
Reply
#4

You can not generate them completly random, because u dont know the Z-coordinate.

Sure with Map Andreas you could find it, but still then you need a border + check if it is on a roof or in water...etc

So it is easier to go to random places, get the coords, pack it in an array and get with the random function some coords out of the array (but be aware, that r doesnt come twice, you have to check it).

So its not that easy, but possible in both ways.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)