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

Status
Not open for further replies.
Level 1
Joined
Sep 30, 2007
Messages
4
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:
 

Rmx

Rmx

Level 19
Joined
Aug 27, 2007
Messages
1,164
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
 
Level 1
Joined
Sep 30, 2007
Messages
4
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.
Top