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.
If a cow runs at 20 miles per hour, how fast does the cow run in centimeters per micro second? If another cow 100 meters behind the first cow is running at 55 meters per second, will the second cow catch the first cow? If so, after how many seconds?
This post was posted now in the current universe on our current planet from my current phone using my current internet connection because currently I am bored.
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.
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
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!