- Joined
- Apr 30, 2012
- Messages
- 59
Anyone please help.
Can anyone correct my triggers.
Map.w3x
Reward: Reputation
Can anyone correct my triggers.
-
GUNS21
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units within 300.00 of (Position of UnitSphere[12])) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A Hero) Equal to True
-
Then - Actions
- Unit - Order UnitSphere[12] to Move To (Position of (Picked unit))
-
Unit Group - Pick every unit in (Units within 25.00 of (Position of (Picked unit))) and do (Actions)
-
Loop - Actions
- Unit - Remove UnitSphere[12] from the game
- Unit - Set life of (Picked unit) to 10.00
-
Loop - Actions
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 300.00 of (Position of UnitSphere[12])) and do (Actions)
-
Events
-
Unit Check Initializations
-
Events
- Time - Every 1.00 seconds of game time
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 0
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 1
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 2
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 3
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 4
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 5
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 6
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 7
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 8
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 9
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
- Trigger - Run Unit Check Trigger <gen> (ignoring conditions)
-
Events
-
Unit Check OFF
-
Events
- Time - Every 1.00 seconds of game time
-
Conditions
- (Number of living Health Sphere units owned by Neutral Passive) Equal to 10
-
Actions
- Trigger - Turn off Unit Check Initializations <gen>
-
Events
-
Unit Check Trigger
- Events
- Conditions
-
Actions
- Unit - Create 1 Health Sphere for Neutral Passive at (Random point in (Playable map area)) facing Default building facing degrees
- Set UnitSphere[12] = (Last created unit)
Map.w3x
Reward: Reputation