ultimate11
Active Member
- Reaction score
- 25
Trigger:
- Move1
- Events
- Unit - A unit enters PP1a <gen>
- Unit - A unit enters PP1b <gen>
- Unit - A unit enters PP1c <gen>
- Unit - A unit enters PP1d <gen>
- Conditions
- Actions
- For each (Integer A) from 0 to 3, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (RegionA[(Integer A)] contains (Triggering unit)) Equal to True
- (Custom value of (Triggering unit)) Equal to (Integer A)
- Then - Actions
- Unit - Set the custom value of (Triggering unit) to ((Integer A) + 1)
- Unit - Order (Triggering unit) to Move To Move_pointA[((Integer A) + 1)]
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 0 to 3, do (Actions)
- Events
Trigger work fine for the first 3 events.The 4th event dont work at all.
the spawm trigger create everry second a unit in regionA[0] setting the custom value of created unit to 0.All point are well setted as you can see
Trigger:
- Actions
- Set RegionA[0] = PP1a <gen>
- Set RegionA[1] = PP1b <gen>
- Set RegionA[2] = PP1c <gen>
- Set RegionA[3] = PP1d <gen>
- Set RegionA[4] = PP1e <gen>
- For each (Integer A) from 1 to 5, do (Actions)
- Loop - Actions
- Set Move_pointA[((Integer A) - 1)] = (Center of RegionA[((Integer A) - 1)])
- Loop - Actions
So why dont work the 4th event?