promotional bannermobile promotional banner
premium banner
Configurable button to set focus on the tank which includes disableable visual indicator.

Description

Zomar's
Focus Tank Button

Addon includes a small button to set focus on the group tank that you can move, lock, hide, and show. The button features a disableable colored indicator that reflects your current focus state:

   ðŸŸ¢  Green   = You are currently focused on the tank.
   ðŸŸ¡  Yellow  = A tank is detected but not your current focus.
                             • Optionally blinks to attract attention (toggle with /ftb blink on or off)
   ðŸ”´  Red     = No tank detected in your group.

Updates automatically when:
 - You join or leave a group or raid
 - The group roster or tank role changes
 - You leave combat
 - You manually change your focus

------------------------------------
FEATURES
------------------------------------
• Secure /focus macro – no protected function errors.
• Automatic tank detection for party and raid.
• Colored indicator shows focus/tank status.
• Optional blinking effect when tank is found but not focused.
• Slash command configuration for all settings.
• Fully persistent SavedVariables between sessions.
• Configurable position and lock state.
• Indicator can be turned off entirely if not desired.

------------------------------------
SLASH COMMANDS
------------------------------------

Type `/ftb` in chat to see all available options.

  /ftb show        - Show the Focus Tank Button.
  /ftb hide        - Hide the button.
  /ftb lock        - Lock the button position.
  /ftb unlock      - Unlock the button for dragging.
  /ftb reset       - Reset button to default position.
  /ftb indicator on   - Show the colored indicator light.
  /ftb indicator off  - Hide the colored indicator light.
  /ftb blink on       - Enable blinking yellow indicator when tank found but not focused.
  /ftb blink off      - Disable blinking (yellow stays solid).

------------------------------------
SAVED SETTINGS
------------------------------------
All user preferences (button position, lock state, visibility, indicator enabled/disabled, and blink enabled/disabled)
are automatically saved between sessions.

------------------------------------
TROUBLESHOOTING
------------------------------------
• If the button doesn’t appear:
    → Type `/ftb show`

• If the indicator doesn’t change color:
    → Ensure you are in a group with a player assigned as the tank role.

• If you receive “Cannot change focus in combat”:
    → This is normal. Focus actions are protected and cannot be performed during combat.

• To completely reset all settings:
    → Type `/ftb reset`

------------------------------------
COMPATIBILITY
------------------------------------
Works with World of Warcraft Classic, Wrath Classic, Cataclysm Classic, and Mists of Pandaria Classic
clients that support SecureActionButtonTemplate.

------------------------------------
NOTES
------------------------------------
Enjoy your tank tracking made easy!