| 08-07-2008, 10:24 AM | #3 |
Remember 99 text tag limit |
| 08-07-2008, 10:56 AM | #4 |
Thanks for your answer, both of you :) Trigger: ![]() Set GoldAmount = 5
![]() Set AddGold = True Sorry, do I make this a seperate trigger or do I add it to the same? Or what exactly do I do with this? Trigger: ![]() If (All conditions are true) then do (Then Actions) else do (Else Actions)
![]() Collapse If - Conditions
![]() (Unit-type of (Picked Unit)) equal to Farm
![]() Collapse Then - Actions
![]() Set GoldAmount = 5
![]() Set AddGold = True
![]() Else |
| 08-07-2008, 11:11 AM | #5 | |
Quote:
Oh and Pyrogasm don't you mean Trigger: Add GoldAmount to (Picked Player) current gold? |
| 08-07-2008, 11:17 AM | #6 |
Yeah, I meant that. And that 2nd trigger thing is just me showing you what part you'd need to copy to add a check for different unit-types. You don't have to do anything with it. |
| 08-07-2008, 01:24 PM | #7 |
I thought it was some kind of diffrent trigger since you put it in another trigger tag. But I see now you were just pointing out some specifics :) Thanks a lot! I'll try it right away |
| 08-09-2008, 09:08 PM | #11 |
Whoops, just noticed that, Pyrogasm is right. |
| 08-11-2008, 12:03 AM | #12 |
Thanks :) However, I seem to have some trouble placing the 2nd If/Then/Else outside the "Else" of the first one ![]() |
| 08-11-2008, 03:19 AM | #13 |
Just drag it there. If that doesn't work, drag the second one above the first one, then drag the first one above the second one. |
| 08-11-2008, 09:01 AM | #14 |
lol, that easy eh? Anyway thanks. It seem to work fine now :) Can I then have a trigger that disables this one and starts a new one with for example a higher income without any trouble? :) |
| 08-11-2008, 08:25 PM | #15 |
Yes, or you could just use a variable for the income from a farm: Trigger: Trigger: Actions![]() Set FarmGold = (FarmGold +5) |
