COMBAT
Jouer une animation
Joue une animation sur un joueur, item ou modèle du monde résolu.
Cas d'usage
Scier du bois (joueur), pose d'intro de boss (personnage de l'objet), PNJ qui salue, danse d'objet.
Paramètres
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| Who plays it? | — | Non | player, Entity, self, selected_target ou $event.target. |
| Animation | — | Non | Choisis l'animation depuis Roblox Studio avec le plugin Kitsulab. |
→ Résultat en jeu
{
"action": "PlayAnimation",
"who_plays_it?": "...",
"animation": "..."
} Résultat en jeu
Joue l'animation. Trois sorties : OnStart (tout de suite), OnEnd (à la fin de l'animation), OnEvent (à chaque marqueur dans l'animation). Chaque branche tourne en parallèle — rien ne bloque.