money trigger

Avaleirra

Is back. Probably.
Reaction score
128
How do I make a trigger that makes it so that all players get 1 gold every 2 seconds?

Thanks :)



+rep for help
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
You have to use a periodic trigger.
Here's one leakless.

Trigger:
  • Gold
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Player - Add 1 to (Player((Integer A))) Actual Gold


Tell me if this isn't what you wanted :).
 

Avaleirra

Is back. Probably.
Reaction score
128
Thanks! that exactly what i wanted :)


nvm... didn't work :p

wait... why 0.02 seconds?

oh actual gold.... ill try that

there was no actual gold option lol
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
Then this one will work.

Trigger:
  • Gold
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Add 1 to (Picked player) Actual Gold
 

saickododge

New Member
Reaction score
2
Trigger:
  • Gold lol
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Player - Add 1 to Player 1 (Red) Current gold
      • Player - Add 1 to Player 2 (Blue) Current gold
      • Player - Add 1 to Player 3 (Teal) Current gold
      • Player - Add 1 to Player 4 (Purple) Current gold
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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