[Trigger] Income Trigger

Status
Not open for further replies.

Deleted member 139377

D

Deleted member 139377

I need an income trigger based on unit type(town hall) sicne ht eone i have wont work for my map...

Jus tpos tthe text for that it would show here because i can figure the rest out myself.
 
What you are seeking is pretty easy to do.
[TRIGGER=Try this]Town Hall Income
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Player - Add ((Number of living Town Hall units owned by Player 1 (Red)) x 50) to Player 1 (Red) Current gold
[/TRIGGER]

The trigger above adds 50 gold for every living Town Halls you have. In order to do it, you just have to use the "Player - Add Property" action. Use Aritchmetic, which is selected by default. In the first slot, select Unit - Count Living Units Owned by Player.

Trigger-creation threads go on the Triggers (GUI) forum.
~Thread Moved
 
um... i dsont think thats what i was looking for... i want the whole CLASS sinc eim using multiple town hall type units..
 
no it will work but its very troublesome and i iknow what i realy need sinc ei alreayd have that same triggor..
 
um i dont want them destroyed -.-... ya know what..,., i think ill jsut ask mr apples...
 
dude I DONT WANT EITHER OF THOSE TRIGGORS.. i want just a normal simple triggor that works for anything based of a townhall unit.
 
Argueing with Purplepoot about anything triggers, is very stupid, because he KNOWS what he is talking about unlike you, I suggest you discontinue your ignorance, because you are making a complete fool of yourself. You are the one who could not figure this simple trigger out, and the above posted triggers ARE simple triggers and the correct triggers at that, and these people are trying to help you,if this isn't what you are looking for, maybe you should have had a better explaination,or better clarify yourself rather than being a complete ass to the people that are trying to help...That just really pisses me off
 
Everyone stop flaming. I don't need to be praised, I'm not always right, and -.-

Try to be a little nicer to eachother ;)

HalakBalakBalak, here's your answer;

  • Some Trigger
    • Events
      • Something Happens
    • Conditions
      • Some Condition
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick Every Unit in (Units of type Town Hall) and do Actions
        • Loop - Actions
          • Player - Add <amount> to (Owner of (Picked Unit)) Current Gold
      • -------- then, for another type of unit, just copy the above and change the unit type --------
 
Hmm... well it smuch shorter then the one apples handed me... thnx ^^ mrapples makes triggors way to long... times that by like but the thing is... hate to say it... thats just a more complex way of doign the triggor I already have.. because I tried it out.. but hey... I guess ill just drop this thread.

Srry for the trouble.
HBB
 
That exact same triggor jsut without the custome script... though I have a different script...
 
Ya but the thing that I need even more then that is a new capture triggor... because currently the one I have works for everything... and i dont want that because guess where it will lead... everyone gettign everyone elses stuff and not realy needing to work.
But then again... im looking for a triggoing tutor to teach me how to do MUCH better triggors then the oens i can atm... because the best i can do is an advanced allies system a flaoting text and 2 income triggors but i dont think that triggors for skills count that much atol.
 
Status
Not open for further replies.
Back
Top