- Joined
- Aug 13, 2007
- Messages
- 309
I have a map that is 480 x 480 in size and I need to make zombie units spawn nearby the players units so that they can actually find them. Non mobile regions would be impractible.
So this is basically what I want to try and do.
Make enemy zombie units spawn randomly just outside a range of about 2800 from any unit that is the enemy of the zombies, but at the same time make them not spawn very far away. (Maybe make them spawn outside of a 2800 range but within a 3000 range at the same time?) Here is a chart to help clarify what I'm trying to do.
Notice: The various coloured dots are players units (Red, Blue, Teal, etc)
So this is basically what I want to try and do.
Make enemy zombie units spawn randomly just outside a range of about 2800 from any unit that is the enemy of the zombies, but at the same time make them not spawn very far away. (Maybe make them spawn outside of a 2800 range but within a 3000 range at the same time?) Here is a chart to help clarify what I'm trying to do.
Notice: The various coloured dots are players units (Red, Blue, Teal, etc)