Aller au contenu
  • 0

Question

Messages recommandés

  • 0
Posté(e)

Avec ExtrasSk, essaye ça

 

every 5 seconds:

loop all wolves

if name of loop-entity is "_Saito119_" :

loop 5 times:

set the wolf collar of loop-wolf to blue

wait 1 second

set the wolf collar of loop-wolf to orange

wait 1 second

set the wolf collar of loop-wolf to yellow

wait 1 second

set the wolf collar of loop-wolf to green

wait 1 second

set the wolf collar of loop-wolf to gray

wait 1 second

set the wolf collar of loop-wolf to red

wait 1 second

  • J'aime 1
  • 0
Posté(e)

Essaye

 

on spawn of an wolf:
   set {_t} to last spawned wolf
   if {_t} is "_Saito119_":
       while {_t} is alive:
           set the wolf collar of {_t} to red or blue or orange or yellow or purple or black or green or gray

  • J'aime 1
  • 0
Posté(e)

J'ai repris le code de @Random donc voilà ce que ça donne :

 

every 5 seconds:
   loop all wolves:
       if name of loop-entity is "_Saito119_" :
           loop 5 times:
               set the wolf collar of loop-wolf to blue
               wait 1 second
               set the wolf collar of loop-wolf to orange
               wait 1 second
               set the wolf collar of loop-wolf to yellow
               wait 1 second
               set the wolf collar of loop-wolf to green
               wait 1 second
               set the wolf collar of loop-wolf to gray
               wait 1 second
               set the wolf collar of loop-wolf to red
               wait 1 second

 

Il faut juste remplacer les espaces par des tabulations, mais normalement ça devrait ressembler à ça ;)

  • J'aime 1
×
×
  • 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.