Jump to content

Open Club  ·  1 member

PlayAZ

Server Name

playazmc.mimehut.gg

Website

  1. What's new in this club
  2.  
  • Posts

    • Please make sure that you aren't responding to posts that haven't been responded to in over a month. Thanks!

    • Hi! I'm trying to detect when the player lands, (like the title suggests).

      If it helps, I'm pushing the player in the air, and then pushing them back down to make an explosion when they land.

      on offhand switch:
        if {Bakugo} contains player:
          cancel event
          if {BakugoMoveset} contains 2:
            if {BakugoExplode2} is true:
              send action bar "<##FF5700>&lBlast Down on cooldown!" to player
            else:
              set {BakugoExplode2} to true
              push player up with speed 0.5
              wait 0.3 second
              push player up with speed -1
              # (Right here is where I wanna wait for the player to land and detect when they do so)
              create an explosion of force 4 at {Bakugo}
              push player up with speed 1
              wait 6 seconds
              send action bar "<##FF5700>&lBlast Down Ready!" to player
              set {BakugoExplode2} to false

      Anything helps! Thanks!

    • On 3/27/2023 at 9:17 AM, JakeBrake807 said:

      See for yourself image.png.3fbfda90dcf22e9113173ff6cd36653e.png

      How did you do this?

       

      Screenshot 2024-05-10 181120.png

      Screenshot 2024-05-10 180531.png

    • Hi! I'm trying to detect when the player lands, (like the title suggests).

      If it helps, I'm pushing the player in the air, and then pushing them back down to make an explosion when they land.

      on offhand switch:
        if {Bakugo} contains player:
          cancel event
          if {BakugoMoveset} contains 2:
            if {BakugoExplode2} is true:
              send action bar "<##FF5700>&lBlast Down on cooldown!" to player
            else:
              set {BakugoExplode2} to true
              push player up with speed 0.5
              wait 0.3 second
              push player up with speed -1
              # (Right here is where I wanna wait for the player to land and detect when they do so)
              create an explosion of force 4 at {Bakugo}
              push player up with speed 1
              wait 6 seconds
              send action bar "<##FF5700>&lBlast Down Ready!" to player
              set {BakugoExplode2} to false

      Anything helps! Thanks!

      Edited by Krusade
    • on place:
          if event-block is water:
              set {waterLocation} to location of event-block
              wait 5 ticks
              set block at {waterLocation} to air
              replace bucket with water bucket in event-player's inventory
              clear {waterLocation}
      
      command /leatherchestplate:
          permission: leatherchestplate
          trigger:
              if player's Chestplate is leather tunic:
                  message "You have permission to run this command!"
              else:
                  message "You need to wear a leather tunic to use this command!"

      1.20.4 paper
      2.9.0-beta1 SK

      Edited by _Aquaotter_
      Parsing issue

×
×
  • Create New...