• 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] Income Help!

Status
Not open for further replies.

Danielt0

D

Danielt0

I need a trigger identical to the one used in WMW's
One that is continous, and every creep sent adds ontop of that income (compound income)
Help please?

(Every x seconds you get x gold if you have a certain building alive, each creep you send adds to that x gold)

Thanks DaN =]:thumbs_up:
 
you can do event: every 2 of elapsed gatim
ConditioN:boalin : trigering unit has a structure X equal to true
Action: give gold x to trigering unit or player

and event: generic unit event (you choose dies anything)
condition: trigering unit belongs to p1 equal to true
action: give x gold to owner of trigering unit

OK maybe i'm wrong because i'm a newbie in trigers ask pros
 
yeh aight well then how do you make a income iteger?
every 15 seconds income is added to the player
Then when you send a creep the income integer is +'ed again,

Thanks for help i really suck with complex figures
 
Status
Not open for further replies.
Back
Top