help.

Necrach

You can change this now in User CP.
Reaction score
62
Use a periodic Event, and then give gold to player with an integer variable = income
 

Wummi

Just Relax and Smile!
Reaction score
58
Events-
Every 1 seconds of game time
Conditions-
Actions-
Pick every player in (All Players) and do Add 10 gold to (Picked Player)'s Current Gold)

Something like that.
 

deathwings13

New Member
Reaction score
1
amp.

I mean when you create this building ( for example when you build a farm ) you can get income . not in the start of the game it automatically gives you gold.
 

Jedi

New Member
Reaction score
63
I know it is long but this is troll vs elves method =)
Maybe a better way:Give an ability to all houses and increase gold with a formula.

Trigger:
  • Gold
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Set HouseGold = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to House1))
      • Unit Group - Pick every unit in HouseGold and do (Actions)
        • Loop - Actions
          • Player - Add 1 to (Owner of (Picked unit)) Current gold
          • Floating Text - Create floating text that reads 1 above (Picked unit) with Z offset 0.00, using font size 10.00, color (90.00%, 90.00%, 10.00%), and 0.00% transparency
          • Floating Text - Set the velocity of (Last created floating text) to 60.00 towards 90.00 degrees
          • Floating Text - Change (Last created floating text): Disable permanence
          • Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
          • Floating Text - Change the lifespan of (Last created floating text) to 2.50 seconds
      • Custom script: call DestroyGroup(udg_HouseGold)
      • Set HouseGold = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to House2))
      • Unit Group - Pick every unit in HouseGold and do (Actions)
        • Loop - Actions
          • Player - Add 2 to (Owner of (Picked unit)) Current gold
          • Floating Text - Create floating text that reads 1 above (Picked unit) with Z offset 0.00, using font size 10.00, color (90.00%, 90.00%, 10.00%), and 0.00% transparency
          • Floating Text - Set the velocity of (Last created floating text) to 60.00 towards 90.00 degrees
          • Floating Text - Change (Last created floating text): Disable permanence
          • Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
          • Floating Text - Change the lifespan of (Last created floating text) to 2.50 seconds
      • Custom script: call DestroyGroup(udg_HouseGold)
      • -------- Same thing with other houses...... --------
 

hgkjfhfdsj

Active Member
Reaction score
55
man it will be too long if he has more than 5 houses......
for that you can use For Integer loop..
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top