Help - Search - Members - Calendar
Full Version: Needing help with a Skill animation
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
Crimsondisco
Hi there! To start with, I'm pretty new to RPG Maker and I'm trying to learn as much as I can.

I found out a problem though: I have two characters and I want them to use a skill together. My idea was
making the skill animation of them using said skill and make their battle sprites invisible or remove them during this animation.

I did the animation just fine, but I can't get their battle sprites to become invisible during the animation.
Obviously, this causes a clone of them to appear within the animation and use the skill while they stand there.

I've tried using common events, but I'm not sure what to do and just got glitches. Also, searched over the internet on how to do it, but no luck. Any help on how to do it, or any other way that causes the same results would be HIGHLY appreciated.
Jens of Zanicuud
The problem is that common_events start after the damage is actually done.
If you want to use it, just make a common_event like this...
It should work, though this is actually annoying and/or boring to build if the skill doesn't target every enemy in the troop.
N.B. I assumed that twin skill targets all enemies.

Skill
>target: none
>usable: battle
>user_animation_id: what you want
>target_animation_id: none
>common_event_id: associated common event id

Common_Event:

>Change_Graphic[actor 1] -> None
>Change_Graphic[actor 2] -> None
>Show animation [all enemies]
>Wait some frames
>Deal damage [all enemies] *
>Change_Graphic[actor 1] -> Old graphic
>Change_Graphic[actor 2] -> Old graphic
>Wait almost 20 frames

*You can do some damage calculation with variables operations and then associate that variable to damage_dealing...

If you want something more refined, then you should request for a script...
Write a reply here if you need something like that.

Hope this can help...

Jens
Crimsondisco
Well thanks a lot, I didn't really think about using animations instead of forcing actions, and it works pretty fine. I'm using CTB by charlie fleed here, so if I force actions, they aren't used right away. But I didn't quite understand the part where I can do some damage calculation with variable operations and then associate them. Can you please explain how do I do that? I don't understand much about variable operations right now, and having a constant damage to the skill isn't really nice. I'd like to multiply it with a stats value of a character if possible, any tip?

EDIT: Nevermind, I managed to do if myself. Again, thanks A LOT. Your help just saved hours and hours of work.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.