Jump to content

Checkmate128

Member
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by Checkmate128

  1. On 4/24/2022 at 11:17 AM, SulphurMC said:

    The best way to advertise is sadly to buy a rank, this will allow you to have shiny new color codes. Click to join server etc, If you dont buy a rank your text is gray and you can't use color codes

    I would recommend voting every day and waiting for a sale to minimize the amount of real money you will need to spend. I got legend just from voting and the massive unleashed sale. 

  2. 6 hours ago, skeleton said:

    Hey I was just wondering I have a box server and I'm adding a different zone because its keep inv and I want one zone unkeep inv and I was just wondering if anyone knows how to do that because I have NO IDEA

    You would need to use Skript. If a player is in a certain area, then do not keep their inventory, else keep the inventory. You may have to disable the gamerule for this method to work. This is not actual Skript code, just logic to work from. 

  3. 7 hours ago, victor11 said:

    Hey dude, how many cookies do you need for prestige levels? I’ve heard it requires like trillions of cookies. Also which formula are you talking about? I did some research and found this one. 

    There were a few more similar ones though for cumulative price and price of buy 10/100.

    formulla.PNG

    It requires (current level + 1)^3 billions of cookies to gain one prestige level.

  4. I found a solution using some math so y'all can close this I guess.

    if {%loop-zombie%.state} is 4:
      broadcast "Should be moving toward %{%{%loop-zombie%.target}%.checkpointValue}%"
      set {_vector} to vector from location at loop-zombie and location at {%loop-zombie%.target}
      set vector length of {_vector} to 0.5
      set {_x} to loop-zombie's x-coordinate
      set {_y} to loop-zombie's y-coordinate
      set {_z} to loop-zombie's z-coordinate
      add x component of {_vector} to {_x}
      add y component of {_vector} to {_y}
      add z component of {_vector} to {_z}
      teleport loop-zombie to position at {_x}, {_y}, {_z} in loop-zombie's world
      if distance between loop-zombie and {%loop-zombie%.target} is less than 1:
        set {%loop-zombie%.checkpoint} to {%{%loop-zombie%.target}%.checkpointValue}
        set {%loop-zombie%.state} to 3

     

  5. I am attempting to have one entity move towards another one. I have tried using the "push" event and directly modifying its vector but the entity will not move. Even teleporting the entity forwards will not move it. Can anyone explain why it will not move?

    if {%loop-zombie%.state} is 4:
      broadcast "Should be moving toward %{%{%loop-zombie%.target}%.checkpointValue}%"
      set {_vector} to vector from location at loop-zombie and location at {%loop-zombie%.target}
      set vector length of {_vector} to 5
      set loop-zombie's velocity to {_vector}
      if distance between loop-zombie and {%loop-zombie%.target} is less than 1:
        set {%loop-zombie%.checkpoint} to {%{%loop-zombie%.target}%.checkpointValue}
        set {%loop-zombie%.state} to 3
    

    This code runs inside a loop that loops through all zombies and has already checked to ensure that this is the zombie that is supposed to be moving and that the target is alive and exists. The entity has many attributes such as NoAI but none of those would seem to explain why it cannot be pushed or teleported. Thank you in advance!

×
×
  • Create New...