Spawn Location random "BUT controlled".


Thank’s for read this topic.

I searched how can i make a random choose of point :

  • I have an array of target Point ( 7 target points ) : I want that my monster are going to spawn on this 7 targets points but randomly and fairly.

But how i can do that.

Now i use this script :

For get all spawnpoints :

(My function for have the location )

Thank’s !

Sorry for bad english.