CCBlueX Forum

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

    Unsolved player.set_motion possible?

    Scripts
    3
    3
    127
    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.
    • S
      Schneelein last edited by

      hello fellas i wanted to ask if its possible to get the "player.set_motion" to make myself faster with a fly cuz me and a friend are working on a fly which he improved a lot (made it alot faster) by adding the player.set_motion

      Plumer Man 1 Reply Last reply Reply Quote 0
      • Plumer Man
        Plumer Man @Schneelein last edited by

        @Schneelein mc.thePlayer.motionX = 5

        1 Reply Last reply Reply Quote 0
        • segv segv
          segv segv last edited by

          You probably want MovementUtils.strafe(5). It make the player move at the speed of <speed> * 20 bps (in this case, 5*20 = 100 bps) only if W/A/S/D is pressed, else stop entirely (not sure about this part).

          For more movement related functions, checkout MovementUtils.java

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          About
          • Terms of Service
          • Privacy Policy
          • Status
          • Contact Us
          Downloads
          • Releases
          • Source code
          • License
          Docs
          • Tutorials
          • CustomHUD
          • AutoSettings
          • ScriptAPI
          Community
          • Forum
          • Guilded
          • YouTube
          • Twitter
          • D.Tube