AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Random select places. (https://forums.alliedmods.net/showthread.php?t=155456)

Screeaam.. 04-22-2011 08:50

Random select places.
 
Hi! I'm looking for a function that will draw a random location on the map and get coords of them... Can someone help me how to write this?

Arkshine 04-22-2011 09:27

Re: Random select places.
 
There is a tutorial about that in the Tutorials section. Please search.

Screeaam.. 04-22-2011 09:56

Re: Random select places.
 
Is that superspawns or something like this?

Arkshine 04-22-2011 10:31

Re: Random select places.
 
Yes. There is also another about finding random places, by hawk552 if I remember.

Screeaam.. 04-22-2011 11:03

Re: Random select places.
 
I think it is this: http://forums.alliedmods.net/showthread.php?t=49829

But with this method I can spawn ent only if I know the origin (like player origin) and I need an randomly spawn, I haven't origin..

Arkshine 04-22-2011 11:05

Re: Random select places.
 
http://forums.alliedmods.net/showthread.php?t=132500

Screeaam.. 04-22-2011 14:27

Re: Random select places.
 
Thank you, but if you will use a certain number of locations, and there are models it says "No more location". When starting a new round of resets all items in the NPC, whether it is also possible to avoid those location that tracked from 0?


All times are GMT -4. The time now is 19:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.