[VXAce]Video skills

Hello,

I use a script to play videos with skills. I've a problem : the video is played before the display of the cast message. The animation and the display of damages appear after the video during the cast message. I would like the video to be played after the cast message but before the animation and the display of damages. Can you help me, please ?

The script is here :

Spoiler
#  -------------------------------------------------#  Script Name : Play Movie before skill

#  Scripter : efeberk

#  Date : 29.07.2013 07:28

#  Version : RPG Maker VX Ace(RGSS3)

#  ------------------------------------------------

#

#  How to:

#   

#  Just add a little text to skill notetag

#

#  <movie = x>

#

#  x = movie name

#

 

class RPG::Skill < RPG::UsableItem

  

  def movie

    if @note =~ /<movie = (\S+)>/

      return $1.to_s

    end

  end

  

end

 

class Game_Battler < Game_BattlerBase

  

  def use_item(item)

    if item.is_a?(RPG::Skill)

      Graphics.play_movie('Movies/' + item.movie) if item.movie

      pay_skill_cost(item)

    end

    consume_item(item)   if item.is_a?(RPG::Item)

    item.effects.each {|effect| item_global_effect_apply(effect) }

  end

end
Up
Topic to close.

Original thread: https://forums.rpgmakerweb.com/threads/vxace-video-skills.39635/