[VXAce]Script for skill in video

Hello,

This is my first topic in this forum and I hope that I post in the right section (I'm French and I don't understand all that I read).

I had tried to use a script for making some skills with video. For example, when a character use Meteor skill, we must see the video before seeing the animation. I've got a small problem.

I would like the message announcing the attack appears before video.

Someone can help me, please ?

The script is here :

Code:
#  -------------------------------------------------#  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  endclass 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) }  endend
Up
Up

Original thread: https://forums.rpgmakerweb.com/threads/vxace-script-for-skill-in-video.36887/