How can I Play movie after choosing a skill in battle in RPG MAKER MV

I am haft way finished with GT Battle Station Xross Generations demo, but I need the game to make it more awesome by adding a super combo movie while in battle mode. I tried this 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
@note.scan(/<(?:MOVIE|movie):\s(\w+)>/i)
return $1.to_s
end

end

class Game_Battler < Game_BattlerBase

def use_item(item)
if item.is_a?(RPG::Skill)
Graphics.play_movie('Movies/' + item.movie) unless item.movie.empty?
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

but that doesn't work. So how can I play the movie on the battle just like RMVX Ace?
Moved to Plugin Requests.

It sounds like you are asking for a conversion of this script from VX Ace to MV. Before someone (hopefully) takes the time to help you convert it, can you test the script in VX Ace and make sure it actually does (in Ace) what you're hoping to accomplish in MV?
I am haft way finished with GT Battle Station Xross Generations demo, but I need the game to make it more awesome by adding a super combo movie while in battle mode. I tried this code:



but that doesn't work. So how can I play the movie on the battle just like RMVX Ace?
That is ruby script for ACE... you might need to ask someone to convert it to Javascript

alternatively... Victor battle motion plugin can play movie if i remember correctly... you might want to try that too...
Check the video on that page at 1:28
Moved to Plugin Requests.

It sounds like you are asking for a conversion of this script from VX Ace to MV. Before someone (hopefully) takes the time to help you convert it, can you test the script in VX Ace and make sure it actually does (in Ace) what you're hoping to accomplish in MV?
The internet said it works on MX Ace but can it still work on MV?
The internet said it works on MX Ace but can it still work on MV?
Unfortunately since VX Ace is written in Ruby (same as VX and XP) and MV is written in JavaScript (same as MZ), MV won't know what to make of the Ace script when you feed it in. That's why'd you need to have someone convert it to an MV-compatible plugin (a separate JS file similar to a script) for you. Occasionally, a kind member here will see a request like that and make it happen for you.
Unfortunately since VX Ace is written in Ruby (same as VX and XP) and MV is written in JavaScript (same as MZ), MV won't know what to make of the Ace script when you feed it in. That's why'd you need to have someone convert it to an MV-compatible plugin (a separate JS file similar to a script) for you. Occasionally, a kind member here will see a request like that and make it happen for you.
How?
Unfortunately since VX Ace is written in Ruby (same as VX and XP) and MV is written in JavaScript (same as MZ), MV won't know what to make of the Ace script when you feed it in. That's why'd you need to have someone convert it to an MV-compatible plugin (a separate JS file similar to a script) for you. Occasionally, a kind member here will see a request like that and make it happen for you.
That is ruby script for ACE... you might need to ask someone to convert it to Javascript

alternatively... Victor battle motion plugin can play movie if i remember correctly... you might want to try that too...
Check the video on that page at 1:28
IT don't work. I tried it and the error said: CANNOT READ PROPERLY "PUSH" OF UNDEFINED.
How can I fix it?
i think that plugin have plugin dependencies...
you also need to install Victor Engine – Basic Module
place the basic module above the battle motions plugin.
hope this help...
Still don't work.
i think that plugin have plugin dependencies...
you also need to install Victor Engine – Basic Module
place the basic module above the battle motions plugin.
hope this help...
Still don't work.
maybe there's conflict with other plugin you already used then... >.<
No, it's not that. I did it correctly.
maybe there's conflict with other plugin you already used then... >.<

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-play-movie-after-choosing-a-skill-in-battle-in-rpg-maker-mv.130561/