Navigation

    CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    how to get onUpdate: "mc.timer.timerSpeed" value

    ScriptAPI
    3
    3
    115
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dntdbt
      dntdbt last edited by

      Hey everyone!

      My script needs to get "mc.timer.timerSpeed" value which takes from active timer from every modules (I mean every modules in all, not specific ones)

      //[...]//
      onUpdate: function() {
          chat.print(/*  Something like "mc.timer.timerSpeed.get()"  */)
      }
      //[...]//
      

      Thanks for any answers in this topic if it's should be possible <З

      M CzechHek 2 Replies Last reply Reply Quote 0
      • M
        mems @dntdbt last edited by

        @dont_doubt I am aware of this topic being in ScriptAPI category but this is how you do it on modules. Might be helpful.

        ClientUtils.displayChatMessage("Timer: ${mc.timer.timerSpeed}")

        1 Reply Last reply Reply Quote 2
        • CzechHek
          CzechHek @dntdbt last edited by

          @dont_doubt chat.print(mc.timer.timerSpeed)

          1 Reply Last reply Reply Quote 1
          • First post
            Last post