- Joined
- Apr 7, 2009
- Messages
- 25
Currently, I am using the following triggers to have the enemies in my orpg to respawn. However, when the dead enemies are raised as skeletons (via raise dead), they don't respawn. Is this a problem with the trigger or the spell itself?
-
Untitled Trigger 003
-
Events
- Unit - A unit enters (Playable map area)
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
-
Actions
- Set Temp_Integer = (Temp_Integer + 1)
- Unit - Set the custom value of (Triggering unit) to Temp_Integer
- Set Creep_Point[Temp_Integer] = (Position of (Triggering unit))
-
Events
-
Untitled Trigger 001
-
Events
- Unit - A unit Dies
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
- (Custom value of (Triggering unit)) Greater than 0
-
Actions
- Wait Respawn_Time seconds
- Unit - Create 1 (Unit-type of (Triggering unit)) for Player 11 (Dark Green) at Creep_Point[(Custom value of (Triggering unit))] facing 270.00 degrees
- Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
-
Events