Bobinho Posté(e) le 29 juin 2016 Posté(e) le 29 juin 2016 Bonjour je voudrais créer deux commandes: /up, /down. Quand je fais /up, je veux que ça me tp 105 blocs en l'air, mais au même coordonnée x et z,peut importe ou je suis sur la map (donc tp: ~ ~105 ~). Et pour le down, je veux pareille mais que me tp vers le sol a de 105 blocs, (donc tp: ~ ~-105 ~). Merci
EvanMartiin Posté(e) le 29 juin 2016 Posté(e) le 29 juin 2016 command /up: trigger: make player execute command "/tp %player% ~ ~105 ~" command /down: trigger: make player execute command "/tp %player% ~ ~-105 ~" Rien de bien compliqué :p
Bobinho Posté(e) le 29 juin 2016 Auteur Posté(e) le 29 juin 2016 et aussi, je ne veux pas que le joueur voit: teleportation en cours ...
Yghore Posté(e) le 29 juin 2016 Posté(e) le 29 juin 2016 command /up: trigger: set {_loc.x} to x-location of player set {_loc.y} to y-location of player set {_loc.z} to z-location of player add 130 to {_loc.y} wait a tick teleport player to ({_loc.x}, {_loc.y}, {_loc.z}) command /down: trigger: set {_loc.x} to x-location of player set {_loc.y} to y-location of player set {_loc.z} to z-location of player add -130 to {_loc.y} wait a tick teleport player to ({_loc.x}, {_loc.y}, {_loc.z})
Bobinho Posté(e) le 29 juin 2016 Auteur Posté(e) le 29 juin 2016 y a 2 erreurs: teleport player to <...>' can only accept a single location, not more
Nashoba Posté(e) le 29 juin 2016 Posté(e) le 29 juin 2016 command /up: trigger: set {_loc} to location of player set y-location of {_loc} to y-location of {_loc} + 105 teleport player to {_loc} command /down: trigger: set {_loc} to location of player set y-location of {_loc} to y-location of {_loc} - 105 teleport player to {_loc} 1
Messages recommandés