small problem i cant figure out

Nanakil_99

New Member
Reaction score
0
i asked a whileback how to get income for making buildings for my map i got good help but how do i specifiy witch buildings get diffrent income like 10gold per second for 1 and 1gold per second for a diffrent building
 

Xenoche

Member
Reaction score
18
Ive done that...

This is some trigger for a map i made that did exactly what your after , the idea behind it was you gained income from your towns, cities ect...every second.
Here is the trigger...

PHP:
Income
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in (Units of type Settlement) and do (Actions)
            Loop - Actions
                Player - Add 1 to (Owner of (Picked unit)) Current gold
        Unit Group - Pick every unit in (Units of type Village) and do (Actions)
            Loop - Actions
                Player - Add 2 to (Owner of (Picked unit)) Current gold


Just change the unit types to yours and hey presto its done.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top