Warcraft III resources & community, 2003–2006 · archived

i need to know how income system works

6 posts
#1

i need to know how income system works

can u tell how to make it so when u summon a monster from like a shrine u get a specific amount of income each so often?
#2

Re: i need to know how income system works

well just dl a maul like wintermaul wars and then open it and check. you can dl it frome b.net
#3
Inferno i tried that but i cant find the triggers that control it
#4
Have you tried setting the price of the unit to a negative number?

If that doesn't work, make an ability based off of the wisp harvest gold\lumber ability, and use it to generate resources over time.

Hope this helps.
#5
grath thats a good idea ill see if that will work
ty if it does :lol:
#6
Its simple:

Let [] mark a variable.

Event:
Periodic Event

Actions:
Set [IntegerVariable] = Count number of units of type [UnitType] in (Entire Map) owned by Player
Set [IntegerVariable] = [IntegerVariable] x [IntegerVariable2]
Add [IntegerVariable] to players gold.
Set [IntegerVariable] = 0.

UnitType is the type of unit you wish to generate money. IntegerVariable is the count for the unit type. IntegerVariable2 is the amount of money you wish each unit to generate.
Hope that helps.