Thread: Plunder!
View Single Post
Old 04-18-2006, 01:52 PM   #12 (permalink)
Hanz
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 10
After a lot of klicking my trigger looks exactly like yours, but still something is not working. I always get 40 gold every minute, no matter how many bandits I have. I think the variable is the problem. I created an Integer Variable as you said, and I even named it to "Banditnumber".
I thought of this:

Quote:
Originally Posted by Hellwolf_36
If you want to control via how many bandits there are, here is waht you do.

Keep a variable that stores the number of bandits on the field. Then where it says 20 gold, multiply the variable with the bandit count by the 20.
But how does my variable know how many Bandits there are? The variable requires a set number. For example, I have to write "5" or "7" or something in the fields. Although I didn't change anything in the fields, so all says 0. And I assume that the number in the variable will multiplie with the 20 Gold added every 60 seconds...
Well, as you notice I have never used variables before, cause I always make simple triggers.

And once again, thanks for all help so far! I really appreciate it!

Last edited by Hanz; 04-18-2006 at 02:03 PM.
Hanz is offline   Reply With Quote