Skript Version: Skript 2.2 (dev32c)
Skript Author: Bensku
Minecraft Version: 1.12.2
Can someone clever please just give me some code to find the exact center between one location and another I'm not smart enough for it and rusty with Skript
Skript Author: Bensku
Minecraft Version: 1.12.2
code_language.skript:
command /test:
trigger:
set {_loct} to {vsk_session-temporary::%uuid of player%::p1}
set x coord of {_loct} to x coord of {vsk_session-temporary::%uuid of player%::p1} + x coord of {vsk_session-temporary::%uuid of player%::p2}
set z coord of {_loct} to z coord of {vsk_session-temporary::%uuid of player%::p1} + z coord of {vsk_session-temporary::%uuid of player%::p2}
set y coord of {_loct} to y coord of {vsk_session-temporary::%uuid of player%::p1} + y coord of {vsk_session-temporary::%uuid of player%::p2}
loop 100 times:
set {_loc} to direction from player to {_loct}
push player {_loc} at speed 0.5
wait 2 ticks
Can someone clever please just give me some code to find the exact center between one location and another I'm not smart enough for it and rusty with Skript