Focus Tank Button

Configurable button to set focus on the tank which includes disableable visual indicator.

File Details

FocusTank V1.0

  • R
  • Oct 12, 2025
  • 4.75 KB
  • 9
  • 5.5.1+1
  • MoP Classic

File Name

FocusTank.zip

Supported Versions

  • 5.5.1
  • 5.5.0

------------------------------------
Version 1.0 (Initial Release)
------------------------------------
✅ Added
 - Core secure FocusTank button using SecureActionButtonTemplate.
 - Automatic detection of the active group or raid tank.
 - Secure /focus macro generation (no protected function errors).
 - Smart visual indicator (🟢🟡🔴):
      🟢  Green  = Tank found and currently focused.
      🟡  Yellow = Tank found but not your focus.
      🔴  Red    = No tank detected in group.
 - Instant indicator updates on focus change (PLAYER_FOCUS_CHANGED).
 - Slash command system (/ft ...):
      • /ft show / hide / lock / unlock / reset
      • /ft debug - Toggle detailed console output.
      • /ft indicator on/off - Enable or disable the status light.
 - Persistent SavedVariables (position, lock state, indicator toggle, etc.)
 - README.txt and TOC metadata for in-game AddOns list.