Combat animations via scripting; How?
#1
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):

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.
}


Messages In This Thread
Combat animations via scripting; How? - by ZeroSum - 09-15-2013, 10:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   RGSS scripting dissections and explinations Siletrea 97 104,631 03-18-2019, 06:46 AM
Last Post: Siletrea
   Over 999 Animations? Is it possible/codeable? RASHIDA12 4 7,521 10-09-2016, 10:27 PM
Last Post: Mel
   RMXP SKill animations too bright (overlaying the battle screen) Starmage 4 10,169 06-13-2016, 03:41 AM
Last Post: Starmage
   Scripting in VX vs VX Ace Miharu 5 9,101 02-21-2015, 10:10 AM
Last Post: Taylor
   Scripting I think spazfire 7 10,196 04-12-2010, 03:21 AM
Last Post: DerVVulfman
   Beginner Scripting Tuts? KDawg08 1 4,148 03-31-2010, 11:03 PM
Last Post: Hsia_Nu
   Using animations in a scene (unrelated to battles and maps) PK8 4 9,036 11-17-2009, 10:54 AM
Last Post: PK8
   animations b4 titlescreen maxx070994 1 4,350 08-20-2009, 09:01 PM
Last Post: Miss Lalaba



Users browsing this thread: 1 Guest(s)