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!
I need make income for my map ..every 30 seconds it will add golds by
income how many units of type do you have * 100 can somebody help me ? I made something it works..but if there are more players it is bugged
No need to set the player group to a global if you're using All Players (that function just returns a global constant player group)
EDIT: Just saw your last post. Just change the units in region owned by player function to units owned by player matching condition and set the condition to be (Matching Unit is of type Ancient).
Then check the respective boxes in the object editor and use for the unit group action 'units owned by player matching condition - and set the boolean for the condition
Don't forget to use (Matching Unit) inside the condition(s)
You loop for all players that it is to affect and pick all their units that are of the type that they give money and count them. Afterwhich you simply use maths to work out the ammount of gold to give and then give that ammount of gold to that player. The loop would mean it does that for all players.
hm ....but I wanna easy income...I want to know what variables that are.... and yea I know bollan variable ..but what for it ? units ((Triggering unit)is Ancient)equal to TRUE
I can´t give to that condition type Triggering unit.... ....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.