- Joined
- Oct 30, 2004
- Messages
- 1,277
I want to know how to make the creeps on the map who die, to respawn in their position where they were standing before engaging in combat and dying, like in open rpg's (or rpg's in general). The trigger is quite simple apart from one thing, its like this:
But the problem in that trigger is that the creep moves to attack the hero so the creeps position when the creep dies is different than where it was standing. So where im going with this post is that is there a way to configure the original position of the creep before he moved to attack and died, without me having to make hundreds of regions and unit configuerences (because in the map there will be hundreds of units).
If anyone understood, help?
Creep dies
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 12 (Brown)
Actions
Wait 30.00 seconds
Unit - Create 1 (Unit-type of (Dying unit)) for Player 12 (Brown) at (Position of (Dying unit)) facing Default building facing degrees
But the problem in that trigger is that the creep moves to attack the hero so the creeps position when the creep dies is different than where it was standing. So where im going with this post is that is there a way to configure the original position of the creep before he moved to attack and died, without me having to make hundreds of regions and unit configuerences (because in the map there will be hundreds of units).
If anyone understood, help?