Something to do with a multiboard

OMGOMGOMG

UMBWGMG (Unidentified Human Being.)
Reaction score
28
Ok so I got triggers like this:
Trigger:
  • MBP1
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
      • (Player 1 (Red) controller) Equal to User
    • Actions
      • Custom script: if ( GetLocalPlayer() == Player(0) ) then // Player(0) is Player 1 (red)
      • Multiboard - Create a multiboard with 1 columns and 2 rows, titled Your Hunger Level
      • Set Multiboard[1] = (Last created multiboard)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Your Hunger Level i...
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to 0
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 3.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 2 to 3.00% of the total screen width
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 2 to Show text and Hide icons
      • Custom script: endif


And then I go like this:
Trigger:
  • Change nmbr every game time hour
    • Events
      • Time - Every 60.00 seconds of game time
    • Conditions
    • Actions
      • Multiboard - Set the text for Multiboard[1] item in column 1, row 2 to (String((0 + 8)))


How would I make it add 8 every 60 seconds?
 

njb013

New Member
Reaction score
0
Just use a variable instead. Declare a variable (which I will call var) of type Integer with initial value zero. Then just incorporate it into the code like this:

Actions-
set var = var + 8
multiboard - Set the text for Multiboard[1] item in column 1, row 2 to (String(var))

Seems simple enough, yes?
 

OMGOMGOMG

UMBWGMG (Unidentified Human Being.)
Reaction score
28
Yes but how do I get it to stop :D joking, that part I will do myself
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top