Script Call to Put Battle Animation on Actor

Hello there,

I was wondering if anyone knows the script call to run an animation on the actor during the battle for mv. I checked the masterlist for script calls, but it only shows how to place animation on battler: $gameTroop.members()[enemyIndex].startAnimation(animationId, true/false, delayN);

I'm not sure how to edit this script call to make it run on actor.

Thanks.
$gameParty.members()[ID].startAnimation(animationID, true/false, delayN);

Example:
$gameParty.members()[0].startAnimation(8, true, 100);
This will play animation 8 on actor 1 after 100 frames have passed.
Change the [0] to [1] if you want the animation to play on actor 2, [2] to play animation on actor 3 etc.
🙂Thank you very much.
Hey there on 2024 !
EmmaB, your code in perfectly working, but how it should be modified to play the animation on the actual user and not a specific member ?

Thanks yoouuu

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-put-battle-animation-on-actor.121436/