Aller au contenu
  • 0

Caméra de surveillance


Question

Posté(e)

Bonjour, alors je vais simplifier un peu la situation :p

 

Alors je souhaite enregistrer toutes les coordonnées ou je me déplace pendant 2 seconds.

 

Donc j'ai bien essayé ce code:

 

command /te:
trigger:
	set {count} to 0
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 2 ticks
	set {tuto.%{count}%} to location of player
	add 1 to {count}
	wait 20 ticks
	send "&cTerminé !"

command /tes:
trigger:
	set {count.%player%} to 0
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 2 tick
	teleport player to {tuto.%{count.%player%}%}
	add 1 to {count.%player%}
	wait 20 ticks
	send "&cFin !"

 

Mais il ne fonctionne qu'a moitier, quand je fais /te il enregistre toute mes coordonnée, mais quand je fais /tes, il fonctionne bien, je me déplace tout seul, sauf que à la moitier du chemin, ou sa dépend, je ne bouge plus du tout ! Et je suis libre, alors que je n'ai toujours pas terminé mon chemin :/

 

J'ai essayé en 1 tick et 2 ticks, c'est la même chose, mais je préfèrerais 1 tick.

 

Merci d'avance de répondre à mon problème :)

 

(Aussi, je veux une réponse et pas, "bah il faut" "Euh je sais plus mais regarde sa" ou autres...

 

<3

15 réponses à cette question

Messages recommandés

  • 0
Posté(e)
command /tee:
   trigger:
       set {_count} to 0
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       add 1 to {_count}
       wait 2 ticks
       set {tuto.%{_count}%} to location of player
       send "&cTerminé !"

command /tes:
   trigger:
       set {_count} to 0
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       add 1 to {_count}
       wait 2 tick
       teleport player to {tuto.%{_count}%}
       send "&cFin !"

  • 0
Posté(e)

Le truc, c'est que je suis sur tablette, et je ne pourrais pas me connecteé sur mon ordinateur avant le 26, donc je pensais plus judicieux de fermer pour pas que quelqu'un ne s'énerve...

  • 0
Posté(e)

Merci bien, tu comprends que je m'énerve car si d'autres personnes ont le même problème et tombe sur ce sujet ou la réponse n'est pas donnée c'est pas très utile.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.