Battle Animations

How do I properly use the show Battle Animation command. I want to show an animation over the event graphic after a switch is activated. But it's not showing up. Does this have to do with what I set the "Enemy" drop down list to?
@TicklishWasabi Can you give a bit more info as I'm not entirely clear about what you mean.

Is this in battle or on the map? The reason I'm asking is that you refer to an event graphic and enemy battlers are not an 'event' in that way. If it is an event on the map, then you do not choose 'Show Battle Animation' (tab 3) but 'Show Animation' (tab 2). You then choose the event id to designate which event it is shown over.

If it is an animation shown in battle, then that will need a different approach, and we would need to know more precisely what is happening.
also for VX there is a script needed to fix a bug with show animation on screen, of the map.

Spoiler
Code:
#==============================================================================
# ■ VX_SP1
#------------------------------------------------------------------------------
#  プリセットスクリプトの不具合を修正します。
#==============================================================================

#------------------------------------------------------------------------------
# 【SP1 修正内容】
#------------------------------------------------------------------------------
# In animation, and more at the top of the screen cell has a large number of small cell numbers
# Come (Y-coordinate is small), as specified will have to disable the display of the cell priority
# Fixed a case.
# When the animation highlights ■, Y Shimashi Fixed incorrect calculation of the coordinates
# Or.
# When you see the same animation continuously ■, wrong to release the necessary graphics
# Fixed a bug they may be.
# google translated, so it doesn't make sense.
#------------------------------------------------------------------------------

class Sprite_Base < Sprite
  #--------------------------------------------------------------------------
  # ● アニメーションの解放
  #--------------------------------------------------------------------------
  alias eb_sp1_dispose_animation dispose_animation
  def dispose_animation
    eb_sp1_dispose_animation
    @animation_bitmap1 = nil
    @animation_bitmap2 = nil
  end
  #--------------------------------------------------------------------------
  # ● アニメーションスプライトの設定
  #     frame : フレームデータ (RPG::Animation::Frame)
  #--------------------------------------------------------------------------
  alias eb_sp1_animation_set_sprites animation_set_sprites
  def animation_set_sprites(frame)
    eb_sp1_animation_set_sprites(frame)
    cell_data = frame.cell_data
    for i in 0..15
      sprite = @animation_sprites[i]
      next if sprite == nil
      pattern = cell_data[i, 0]
      next if pattern == nil or pattern == -1
      if @animation_mirror
        sprite.y = @animation_oy + cell_data[i, 2]
      end
      sprite.z = self.z + 300 + i
    end
  end
end

This is a bug fix. I believe this is for the animations, if not, you still need it.
I'm thinking this is it though. I can't find any other bug fix in my scripts atm. It's totally needed though.


If it's for in battle? Yeah a bit more info and we can help.

Original thread: https://forums.rpgmakerweb.com/threads/battle-animations.88274/