09-15-2013, 10:52 AM
Hi there,
I've been learning how to script for the past months and am making decent progress. There is something I'd like to learn and maybe the people here can enlighten me.
What I'd like to learn:
How to write code to play an animation just before and after using the party command phase in combat.
I have learned how to play animations on battlers/active_battlers with methods like this used in the scene battle class (3):
I've been learning how to script for the past months and am making decent progress. There is something I'd like to learn and maybe the people here can enlighten me.
What I'd like to learn:
How to write code to play an animation just before and after using the party command phase in combat.
I have learned how to play animations on battlers/active_battlers with methods like this used in the scene battle class (3):
PHP Code:
<?php
def window_animation
@active_battler.animation_id = 164
@active_battler.animation_hit = true
end
But since the party command phase has no designated active battlers yet, I will need a different source to play the animation upon. I have learned that this source should
be something generated by the RPG::Sprite class (like a background picture or something in my combat interface).
Could anyone help me get started? I'm not sure where to and how to make something like this happen. I am using RMXP.