- Joined
- Nov 15, 2010
- Messages
- 30
Hello
I have a problem, I don't clearly know how to make a spawn system to move creeps from multiple points.
The map is mazeish.
The problem is the creeps must move from initial spawn point to 4 different points in order and only once, if a unit enters a point not in order it has no effect until it goes to the right one, each time a unit enters a point, it regains 10% of its max hp. once the unit reaches the 4th point, it explodes, taking a life with it.
The problem stems from my inability to make it go from one place to another.
So far I have this set up with custom values, but I feel lost.
I have a problem, I don't clearly know how to make a spawn system to move creeps from multiple points.
The map is mazeish.
The problem is the creeps must move from initial spawn point to 4 different points in order and only once, if a unit enters a point not in order it has no effect until it goes to the right one, each time a unit enters a point, it regains 10% of its max hp. once the unit reaches the 4th point, it explodes, taking a life with it.
The problem stems from my inability to make it go from one place to another.
So far I have this set up with custom values, but I feel lost.
-
Player 1 Initial Move
-
Events
- Unit - A unit enters Player 1 Spawner <gen>
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 12 (Brown)
-
Or - Any (Conditions) are true
-
Conditions
- (Custom value of (Triggering unit)) Not equal to 1
- (Custom value of (Triggering unit)) Not equal to 2
- (Custom value of (Triggering unit)) Not equal to 3
-
Conditions
-
Actions
- Unit - Order (Triggering unit) to Move To (Center of Player 1 North East Checkpoint 1 <gen>)
-
Events
-
Player 1 Move from first to second
-
Events
- Unit - A unit enters Player 1 North East Checkpoint 1 <gen>
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 12 (Brown)
-
Or - Any (Conditions) are true
-
Conditions
- (Custom value of (Triggering unit)) Not equal to 1
- (Custom value of (Triggering unit)) Not equal to 2
- (Custom value of (Triggering unit)) Not equal to 3
-
Conditions
-
Actions
- Unit - Set the custom value of (Triggering unit) to 1
- Unit - Order (Triggering unit) to Move To (Center of Player 1 South East Checkpoint 2 <gen>)
-
Events
Last edited by a moderator: