Xathia Vastar
Member
How do I make the enemy battlers blink when the cursor is over them? This is what I did so far in the class Scene_Battle (part 3), but it doesn't work:
Basically what I want to happen is for the selected enemy to blink/flash white continuously if the selection cursor is over them. Any help?
Code:
#--------------------------------------------------------------------------
 # * Start Enemy Selection
 #--------------------------------------------------------------------------
 def start_enemy_select
  # Make enemy arrow
  @enemy_arrow = Arrow_Enemy.new(@spriteset.viewport1)
  # Associate help window
  @enemy_arrow.help_window = @help_window
  # Disable actor command window
  @actor_command_window.active = false
  @actor_command_window.visible = false
if @enemy_arrow.help_window = @help_window
 for i in 0... $game_troop.enemies.size
  if @enemy_arrow.index == 0
   @active_battler = $game_troop.enemies[0]
   @active_battler.blink = true
  else
   @active_battler.blink = false
  end
 endÂ
 end
end
Basically what I want to happen is for the selected enemy to blink/flash white continuously if the selection cursor is over them. Any help?