• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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.
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
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
 

Deleted member 139377

D

Deleted member 139377

um... i dsont think thats what i was looking for... i want the whole CLASS sinc eim using multiple town hall type units..
 

Deleted member 139377

D

Deleted member 139377

no it will work but its very troublesome and i iknow what i realy need sinc ei alreayd have that same triggor..
 

Deleted member 139377

D

Deleted member 139377

um i dont want them destroyed -.-... ya know what..,., i think ill jsut ask mr apples...
 

Deleted member 139377

D

Deleted member 139377

dude I DONT WANT EITHER OF THOSE TRIGGORS.. i want just a normal simple triggor that works for anything based of a townhall unit.
 
Level 18
Joined
May 27, 2007
Messages
1,689
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
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
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 --------
 

Deleted member 139377

D

Deleted member 139377

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
 

Deleted member 139377

D

Deleted member 139377

That exact same triggor jsut without the custome script... though I have a different script...
 

Deleted member 139377

D

Deleted member 139377

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.
Top