- Joined
- Dec 27, 2012
- Messages
- 36
The problem is the spawn trigger but I'll post all 3 of them...i don't know why it's not working, I followed the tutorials and such but it's still not working!
Oh and one more thing...if anyone could post a good and simple Hero Respawn trigger that would be very nice
-
Creep Position
-
Events
- Map initialization
- Conditions
-
Actions
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units in (Entire map) owned by Neutral Hostile) and do (Actions)
-
Loop - Actions
- Set Integer = (Integer + 1)
- Unit - Set the custom value of (Picked unit) to Integer
- Set Point_CR[Integer] = (Position of (Picked unit))
-
Loop - Actions
-
Events
-
Add Creep
-
Events
- Unit - A unit enters (Entire map)
-
Conditions
- (Owner of (Triggering unit)) Equal to Neutral Hostile
-
Actions
- Set Integer = (Integer + 1)
- Unit - Set the custom value of (Triggering unit) to Integer
- Set Point_CR[Integer] = (Position of (Triggering unit))
-
Events
-
Creep Respawn
-
Events
- Unit - A unit owned by Neutral Hostile Dies
-
Conditions
- ((Triggering unit) is Summoned) Equal to False
- (Custom value of (Triggering unit)) Greater than 0
-
Actions
- Wait 22.00 seconds
- Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at Point_CR[(Custom value of (Triggering unit))] facing Default building facing degrees
- Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
-
Events