Timer help ?

widra

New Member
Reaction score
3
hi me again ! :D

my question is how can i make a timer variable like a number or something else... and then i can use it in a periodic timer...

i would like to make something like when red needs to choose when will players get their income.. like in 5 sec - 10 sec - 15 ...

THX in advanced !!! :D
 

kaboo

New Member
Reaction score
45
Trigger:
  • set period
    • Events
      • Player - Player 1 (Red) types a chat message containing -period as A substring
    • Conditions
    • Actions
      • Set Real = (Real((Substring((Entered chat string), 9, 11))))
      • Trigger - Add to give gold <gen> the event (Time - Every Real seconds of game time)
      • Trigger - Turn off (This trigger)


Trigger:
  • give gold
    • Events
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Player - Add 1000 to (Player((Integer A))) 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