• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Request: Gold Income

Status
Not open for further replies.

Tinaki

T

Tinaki

I'm normally good with triggers, although I can't figure out to make a trigger that does the following

Spell Income: You research a spell that increases your gold income at a periodic event. This involves having 5 spells that all increase gold at a different level.

One doing +1, +5, +10, +25, +50.
 
No, I'm saying each player has a "Research" building. The building has many spells in it, but 5 of them are income increasing, or a number like 5, single digit.

Is it easier if I make a separate building for income?
 
Do they click the click the ability to make it happen? Or is the building existing enough to add an automatic income? (I mean which do you want)
 
  • Unknown
    • Events
      • Unit - A unit Finishes research
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Base
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Researched tech-type) Equal to Income_Research
        • Then - Actions
          • -------- Make for all players --------
          • If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Set Your_Income[1] = (Your_Income[1] + 5)) else do (Do nothing)
          • If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Set Your_Income[2] = (Your_Income[2] + 5)) else do (Do nothing)
        • Else - Actions
 
Status
Not open for further replies.
Back
Top