
Turn off Headline View in Arenas
Closed this issue ยท 4 comments
Is there a way to automatically turn off Headline View for friendly players in arena (use Healthbar View instead)? I like how clean the Headline View looks in cities, etc., but often find it hard to locate teammates in Headline even with the class icon widget on.
Similar to #141 but the other way round.
Tried using the Custom Style Examples in the Wiki but can't seem to import.
I just checked the import of some (not all) of the example custom styles. It still works. Which one did you try and did you enable scripting first (with /tptp toggle-scripting)?
Ah I didn't realize I needed to enable scripting for these examples. Thanks! I will explore a bit how to turn off Headline mode in arenas with a script. In the meantime it would still be nice if ThreatPlates could provide an option for this, as people could have different preferences for PvP.
Thank you for the amazing addon ๐
This seems to accomplish exactly what I was looking for (MoP Classic):
-- PLAYER_ENTERING_WORLD
function(...)
local in_instance, instance_type = IsInInstance()
local db = ThreatPlates.Environment.Profile
if instance_type == "arena" or instance_type == "pvp" then
db.Visibility.FriendlyPlayer.UseHeadlineView = false
else
db.Visibility.FriendlyPlayer.UseHeadlineView = true
end
-- print("db.Visibility.FriendlyPlayer.UseHeadlineView = ", db.Visibility.FriendlyPlayer.UseHeadlineView)
end
Thanks!