DAOW type income trigger

Status
Not open for further replies.
Level 5
Joined
Mar 1, 2010
Messages
86
Hello.

I need some help with a gold income trigger. Its like the one in ''dark age of warcraft''(DAOW). This is an eksample on how it is: I have two check points. One is called ''check point 20gold'' and the other one ''check point 10gold''. That means i have 30 gold in minute. The other player has three check points. They is called ''check point 20gold'', ''check point 15gold'' and ''check point 10 gold''. So he has 45 gold in minute. Then i kill his ''check point 15gold''. It changes owner to me. Now i have 45 gold in minute and he has 30 gold.

Can anybody show me a trigger like that?
I give rep to the one who helps me out:thumbs_up:
 
Something like this:

  • Capture Point
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
    • Actions
      • Set OwnRegion1[1] = False
      • Set OwnRegion1[2] = False
      • Set OwnRegion1[3] = False
      • Set OwnRegion1[4] = False
      • Set OwnRegion1[5] = False
      • Set OwnRegion1[6] = False
      • Set OwnRegion1[(Player number of (Owner of (Triggering unit)))] = True

  • Checking
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • OwnRegion1[1] Equal to True
        • Then - Actions
          • Player - Add 20 to Player 1 (Red) Current gold
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • OwnRegion1[2] Equal to True
        • Then - Actions
          • Player - Add 20 to Player 2 (Blue) Current gold
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • OwnRegion1[3] Equal to True
        • Then - Actions
          • Player - Add 20 to Player 3 (Teal) Current gold
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • OwnRegion1[4] Equal to True
        • Then - Actions
          • Player - Add 20 to Player 4 (Purple) Current gold
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • OwnRegion1[5] Equal to True
        • Then - Actions
          • Player - Add 20 to Player 5 (Yellow) Current gold
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • OwnRegion1[6] Equal to True
        • Then - Actions
          • Player - Add 20 to Player 6 (Orange) Current gold
        • Else - Actions
This is for 6 players. And only for 1 "check point"

"OwnRegion1" is Boolean type variable.
 
Status
Not open for further replies.
Back
Top