- Joined
- Jul 29, 2009
- Messages
- 49
im trying to make a trigger that requires a player to be in a region for a set duration to capture the area. ronojales showed me this:
-
Events
-
Time - Every 1.00 seconds of game time
-
Conditions
-
(RegionWithCaptureableBuilding contains CapturingUnit) Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
CountdownTimer Equal to 10
-
Then - Actions
-
Unit - Change ownership of CaptureableBuilding to (Owner of CapturingUnit) and Change color
-
Trigger - Turn Off This Trigger
-
Else - Actions
-
Set CountdownTimer = CountdownTimer + 1