• 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] Request: Gold Income

Status
Not open for further replies.
Level 2
Joined
Jun 10, 2007
Messages
7
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.
 
Level 2
Joined
Jun 10, 2007
Messages
7
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?
 
Level 11
Joined
Aug 25, 2006
Messages
971
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)
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
  • 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.
Top