Hello! I'm new, and this is my first post! 😀
So I'm working on the first boss fight in my game, and there is a moment where the sole party member is overwhelmed by the boss and when they fall into the low HP state, an event is triggered where an off-screen mage heals them before joining the fight.
I've got it properly set up to heal the character, but there is no visual representation of that happening. So I'm trying to get it to play the Heal One animation (default 0041) on the sole party member BEFORE the mage comes flying into the scene. I found a thread in the MV forums from 2019 where someone was having the same issue. It seems all of the event commands can only play animations on enemies. Someone suggested they write a single line to a script, and it seems that did the trick for them. But this is MZ, so I guess something is different...
So... I'm open to suggestions lol Let it be known that I have no experience with coding, but I am very much open to learn.
The thread discussing the same issue in MV: https://forums.rpgmakerweb.com/index.php?threads/show-battle-animation-on-actor.113467/
The script I tried writing, following the suggestion to the best of my comprehension:
$gameParty.members()[0001].startAnimation(0041, true, 1)
The error the game throws upon reaching the script processing command:
So I'm working on the first boss fight in my game, and there is a moment where the sole party member is overwhelmed by the boss and when they fall into the low HP state, an event is triggered where an off-screen mage heals them before joining the fight.
I've got it properly set up to heal the character, but there is no visual representation of that happening. So I'm trying to get it to play the Heal One animation (default 0041) on the sole party member BEFORE the mage comes flying into the scene. I found a thread in the MV forums from 2019 where someone was having the same issue. It seems all of the event commands can only play animations on enemies. Someone suggested they write a single line to a script, and it seems that did the trick for them. But this is MZ, so I guess something is different...
So... I'm open to suggestions lol Let it be known that I have no experience with coding, but I am very much open to learn.
The thread discussing the same issue in MV: https://forums.rpgmakerweb.com/index.php?threads/show-battle-animation-on-actor.113467/
The script I tried writing, following the suggestion to the best of my comprehension:
$gameParty.members()[0001].startAnimation(0041, true, 1)
The error the game throws upon reaching the script processing command: