RPG Maker Forums

Hey guys, I'm using Victors Basic Module, Victors Animated Battles, and Victors Actor Battlers in conjunction and they all work flawlessly together(along with Holder's animated sprites); however I've ran into a snag with a script I use to change party members while combat is still going on (Yanfly's Party System and Party Command). All scripts work; however when I try to change my party during combat, I receive this error:

Script 'VE_Actor_Battlers' line 559: NoMethodError occurred.
undefined method 'default_direction' for #<Game_Actor:0xb94e200>

The section in question is referring to this piece of code..

#--------------------------------------------------------------------------
  # * New method: update_party
  #--------------------------------------------------------------------------
  def update_party
    @actor_sprites.each_index do |i|
      next if $game_party.battle_members.include?(@actor_sprites.battler)
      @actor_sprites.dispose
      @actor_sprites = nil
    end
    $game_party.battle_members.collect do |actor|
      next if @actors_party.include?(actor)
      @actor_sprites.push(Sprite_Battler.new(@viewport1, actor))
    end
    @actor_sprites.compact!
    @actors_party = $game_party.battle_members.dup
    $game_party.battle_members.each do |actor|
      old_position = [actor.screen_x, actor.screen_y]
      actor.default_direction if $imported[:ve_animated_battle]
      if old_position != [actor.screen_x, actor.screen_y]
        sprite(actor).start_effect:)appear)
      end
    end
  end
end
(line 559 is "actor.default_direction if $imported[:ve_animated_battle]")

 

So I understand that it's directing me to the other script I have titled "VE_Animated_Battle" to define the actor's default direction. So my question to you:
How can I define an actor's default direction within Victors Animated Battles?

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top