Hi
Ok, I am making a rpg map and creeps that are killed should respawn after 2 minutes at the same position as the dead ones stood from the start. These creeps are in groups of 2-5 units per group and they shall not respawn untill the last one of them is dead.
My idea to this was something like:
event: a unit dies
condition: unit group "creeps[intergerA]" has no living creeps in it
action: Pick every unit in creeps[intergerA] and do actions: Create 1 (unit type of picked unit) at region creepregion[intergerA]
I soon realized that regions couldn´t have integers in them, and as the creeps can follow heroes for a bit it cant be: Create 1 (unit type of picked unit) at position of dying unit.
Need help. How to make this work?
Forgive my bad english.
Ok, I am making a rpg map and creeps that are killed should respawn after 2 minutes at the same position as the dead ones stood from the start. These creeps are in groups of 2-5 units per group and they shall not respawn untill the last one of them is dead.
My idea to this was something like:
event: a unit dies
condition: unit group "creeps[intergerA]" has no living creeps in it
action: Pick every unit in creeps[intergerA] and do actions: Create 1 (unit type of picked unit) at region creepregion[intergerA]
I soon realized that regions couldn´t have integers in them, and as the creeps can follow heroes for a bit it cant be: Create 1 (unit type of picked unit) at position of dying unit.
Need help. How to make this work?
Forgive my bad english.