• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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