been trying to think of a way to spawn npcs in a random location on the map without having to set the positions manually but i cant think of anything, does anyone have any ideas?
[editline]13th December 2015[/editline]
oh wait here we go,
[url]http://wiki.garrysmod.com/page/util/IsInWorld[/url]
now i just need to determine the spawn locations
maybe run a trace from players in 4 directions and spawn them so far away from the player?
[t]http://images.akamai.steamusercontent.com/ugc/643250756743078074/DFAB104F8EFC1DD9EA9E3F1C6617D5BC2330383C/[/t]
Got it for anyone who might be interested
[url]https://facepunch.com/showthread.php?t=1486651&p=49306156&viewfull=1#post49306156[/url]
Sorry, you need to Log In to post a reply to this thread.