- Joined
- Jun 3, 2012
- Messages
- 92
Hello! I am making a 2D map and just missing the triggers, in one of them i do not know how to do:
I need that units groups are created next to the hero of the player(No in a fixed range, but in a random distance from hero and not so far away). When the player Advance on stage, this unit group change (stronger units will be created). When the enemy units are created, they will advance directly to the player.
I thought in use a region and use a random point to create the units, but this could create enemies far away from where the player is
So... How i do to create groups of units on a random point within a certain range of the player?
And sorry my bad english.
I need that units groups are created next to the hero of the player(No in a fixed range, but in a random distance from hero and not so far away). When the player Advance on stage, this unit group change (stronger units will be created). When the enemy units are created, they will advance directly to the player.
I thought in use a region and use a random point to create the units, but this could create enemies far away from where the player is
So... How i do to create groups of units on a random point within a certain range of the player?
And sorry my bad english.