- Home /
This question was
closed Apr 08, 2014 at 10:46 AM by
Benproductions1 for the following reason:
Asking for Scripts
Question by
ubersoldat42 · Apr 08, 2014 at 09:28 AM ·
Spawning in vicinity?
Is there a script which I can refer to that spawns gameobjects (enemies, in this case zombies) from spawners that work only when the player is within the vicinity of the spawner, and despawns them the moment your distance from the spawner is too large.
Like that example. I'm relatively new to scripting and so I needed the base script to which I would add more parameters when deciding who to spawn (if it's raining or not, and if there is sunlight or not).
Thank you for your time!
spawner.jpg
(97.5 kB)
Comment
"I'm new to scripting so I need the base script", since when has this become a "rule", can't you at least try to do it by yourself?