Hey,
No matter how hard I try it seems as though the character will not use animations in a battle.
I am currently attempting -
$gamePlayer;0003.requestAnimation0052;
It is set to the proper character, and the proper animation. I have it set to start turn 1. Nothing happens. Can anyone help?
That's completely the wrong syntax. If you want to use a script, you have to do it in the correct format.
However, why are you trying to use a script call? Why can't you use the Show Battle Animation command?
Where are you setting this up - as a troop event command, part of the damage formula, in a common event that's linked to an item or a skill?
$gamePlayer only exists on the map. $gameParty is what you have in battle. $gameMap is for events on the map, not for the player.
You also didn't answer my other questions - is this command being run from a common event attached to a skill?
mmm ... one of the battler poses is casting a skill. If you want this to happen for this actor with EVERY skill, you could simply edit the sv battler spritesheet and put the animation in there (though it might play too fast, as it's only 3 frames being repeated).
If you are doing it as part of the damage formula, or in a common event attached to the skill, that might actually execute too late - AFTER the "casting" animation has finished playing, because both of those things happen when the damage is being calculated.
The explanation of what you're trying to achieve is really helpful. Now we have some clear direction and are not guessing your purpose.
Oh. Sorry, Shaz!
I am running it in a "Battle Event" for that battle. I have it set aside and named "Opening Battle."
This battle will only be used once, and only to showcase one of the final moves that the characters can achieve. Though, I'd like while she's speaking for the "Power Up 2" to appear around her. I apologize should I be continuing to not properly answer your question.
Edit: The reason being. (To paint a better picture) Is that she's casting a spell that requires her to chant in her first language. (The language she learned all her spells, since she cannot cast them while speaking English) While she is casting said spell. The aura from "Power Up 2" will appear, and hopefully, will end around the same time she's done speaking. (Should that be possible.)
battler.startAnimation(animationId, mirror, delay)
battler = a Game_Battler object (see bellow)
animationid = the id of the animation.
mirror = true or false. if true the animation will be inverted
delay = animation delay, the default value is 8.
for the battler you must get a valid Game_Battler object
For example. $gameParty.leader() is the first battler of the party.
so if you call $gameParty.leader().startAnimation(50, false, 8) you will display the animation 50 on the first member.
you can retrieve any member of the part with $gameParty.members(index), where index is the position of the member (starting at 0)
so if you call $gameParty.members(2).startAnimation(45, false, 8) you will display the animation 45 on the THIRD member.
Edit.: If you want to display an animation during an event, why not use the Display Animation event command instead?
No, that's okay. The more I learn about what you're after, the more questions I have to get in the right direction.
So this is a once-only thing you need to happen as part of a tutorial?
How many characters will be in the party at this time?
If more than one, which party member will be using this animation - will it be the leader, or someone in a specific position in the battle lineup, or will it be just actor id?
I can give you the script command to run, but I need to determine which of your party members we need to execute the command on first. If this is going to be the only party member at this stage, that will make it super easy. If not, I'll need to know how to identify which battler it is.
edit: ninja'd.
I will attempt the option provided by Victor Saint and return with the results in an Edit.
Thanks to both of you. Should this still SOMEHOW fail, I suspect it's on me then.
@ Victor Saint: The "Show Animation" in tab 2 wasn't working in the "Battle Event" tab for some reason. It could be me somehow though.
nah, if it fails, we'll help you get it working.
If it doesn't work, can you please add a screenshot of the enemy troop event window, where you've got the command, so we can see it in context?
Show Animation in tab 2 won't work because it applies only on the map, not in battle.
no. As you can see, it offers the character or an event. These are things on the map, not in battle. Show Battle Animation, on tab 3, is for battles, but as you say, only for enemies, not for your own party.
I'm not aware of any Display Animation event command. When people use those terms, they are probably referring to one of those, depending on whether the context is map or battle, and just using the wrong words. We do that sometimes, as we don't always have MV open in front of us when replying to questions.
Didn't knew that the the command to display battle animations worked only for enemies. (Now this is a big fail on the side of the developers, since they added visible party, they should've added event commands related to them)