[VX ACE] Victor's Animated Battles Question

● ARCHIVED · READ-ONLY
Started by Ghostsniper64 4 posts View original ↗
  1. 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..

    Spoiler
    #--------------------------------------------------------------------------
      # * 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?
  2. Solved, post is now obsolete. Admin is free to remove.
  3. How was it solved?


    I would really like to know as I'm looking for the same solution. My only option is to not change party members in battle. That's all I have been able to get working.
  4. @Roninator2 It would be best to start a new topic to find a solution to your problem.


    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.