Error with Yanfly's Ace Battle on line 688 Forced Action

Status
Not open for further replies.

diablodevil2

Villager
Member
Joined
Aug 5, 2013
Messages
22
Reaction score
3
First Language
English
Primarily Uses
Heya! I'm trying out Yanfly's neat battle script, but I think it's having an issue with an evented 'coin assault' skill I made up. 
 
Specifically, the error reads;
 
Script 'Yanfly's' line 688; NoMethodError ocurred.
 
undefinded method 'forced_action_remove' for Switch:Module
 
Here's the section in question;
 


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

  # overwrite method: force_action

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

  def self.force_action(battler)

    @action_forced = [] if @action_forced == nil

    @action_forced.push(battler)

    return unless Switch.forced_action_remove

    @action_battlers.delete(battler)

  end
 

My 'Coin Assault' skill may be a little complex, but I think the main issue causing it is the Force Action. 

 

I have a Troop event that basically triggers a common event when the test enemy has the state that the skill puts on. 

 

Here is that event;

http://imgur.com/sp8G2AS

 

So, I'm not terribly sure what I'm doing wrong. But I appreciate any insight! Thanks for reading. c:
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,787
Reaction score
939
First Language
Chinese
Primarily Uses
N/A
Do you use Yanfly's Core Engine as well? Placing it above the Battle Engine may solve this problem :)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
When you ask for help with scripts, please include a LINK to the script so people can look at it.


Did you start a new game after adding the script? Did you configure the script according to the instructions? If the answer to any of those is "no", please do those things and try again.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top