I feel like this must be incredibly simple, but I'm just starting out, and I haven't been able to find a tutorial referencing this.
Let's say the lead character opens a chest. What I want is for the sprite to adopt a little victory pose upon receiving the item. What do I need to do to make the event trigger this animation/frame?
Standard sprites have only the normal walking poses, so you would need to find/create a sprite in the pose you want. Then, at the point in the sequence of chest opening, then receiving the message X was found! you insert a change graphic command.
There are 2 to choose from; one is in the Set Move Route command, and one is a specific 'Change Actor Graphic' command. Probably the second is best for you, unless you want your actor to take a step or 2 of victory, but then you'd have to choreograph that for each individual chest, depending on what steps were available in the particular location. Anyway, if no movement, then probably a Wait command for however long you want, then another change graphic command to go back to normal.
Thank you, that's very helpful!
So, if I'm understanding this correctly... I would switch the character graphic to a sheet with the victory pose while the text was displayed, then switch back. Since the character could be facing any direction when this happened, I'd want four victory poses occupying the "standing" position in that sprite set.
Well, it did occur to me that I could have a single victory sprite in, say, the front-facing position, and use "set move route" to point the character in the right direction to display it, but that would mean the character always ended up facing a specific direction after opening a chest. So the four sprites idea looks best.
If I wanted the victory pose to include more than one frame of animation, is this something I'd have to do via "set move route"?
Thanks again for your help, I really appreciate it!
If you wanted the victory post to have more than 1 frame of animation, it would be easier to just follow the current animation frames - standing frame in the middle that's repeated, and another slightly different on either side (if you only wanted two frames, have one in the middle, and copy the other into both outer columns). Then when you do a Change Graphic to show the standing frame, also turn on Stepping Animation. And when you change back again, turn stepping animation off.