Furious-Serveur Posté(e) le 16 juillet 2015 Posté(e) le 16 juillet 2015 Bonjour je voudrais un skript pour grace a une commande on peut faire apparaitre et mob a une position d'une autre commande : -Commande pour mettre le spawn du zombie : /setpolicier -Commande pour faire spawn le zombie au point : /zsp Est-ce possible ? Le zombie pourra etre personnalisable avec une armure en cuir bleu et renommer &b&lPolicier Merci ;) Bonne chance
GlyDers Posté(e) le 16 juillet 2015 Posté(e) le 16 juillet 2015 command /setpolicier: trigger: set {setpolicier} to player's location message "&3Le spawn du policier a été défini." command /zsp: trigger: spawn zombie named "&b&lPolicier" to {setpolicier} message "&3Le policier a spawn" Test ça je ne sais pas si ça marche mais par contre pour l'armure je ne sais pas comment faire donc si quelqu'un peut finir :)
SkyZik Posté(e) le 16 juillet 2015 Posté(e) le 16 juillet 2015 @GlyDers , Je me suis permis d'ajouter l'armure en bleu dans ton skript (pas sur qu'il marche :p): command /setpolicier: trigger: set {setpolicier} to player's location message "&3Le spawn du policier a été défini." stop command /zsp: trigger: spawn a zombie at {setpolicier} set name of spawned entity to "&b&lPolicier" equip spawned entity with a leather helmet equip spawned entity with a leather chestplate equip spawned entity with a leather leggings equip spawned entity with a leather boots dye spawned entity's helmet blue dye spawned entity's chestplate blue dye spawned entity's leggings blue dye spawned entity's boots blue message "&3Le policier a spawn" stop Amicalement, Le SkyZik. 1
Furious-Serveur Posté(e) le 17 juillet 2015 Auteur Posté(e) le 17 juillet 2015 SkyZik sa me met cette erreur en disant que "&b&lPolicier" is not an entity Erreur :[ATTACH=full]163[/ATTACH]
SkyZik Posté(e) le 17 juillet 2015 Posté(e) le 17 juillet 2015 Change le "to {setpolicier}" par "at {setpolicier}"
Messages recommandés