View Single Post
06/20/21, 07:35 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,028
I did not know it is able to do that, the description and screenshots does not tell anything about this.
But checking the code it re-uses an existing map_pin_type_aggro and just sets a new texture to it. So it reuses vanila UI code and just adds a new texture:
Code:
SetFloatingMarkerInfo(MAP_PIN_TYPE_AGGRO, size, "Untaunted/textures/redarrow.dds")
	SetFloatingMarkerGlobalAlpha(1)
And as the code is not able to tell us where the enemy is, just adds/overwrites the texture, and as we cannot dynamically create a texture with a cooldown timer counting down , I guess we still are not able to do something like your request then

Last edited by Baertram : 06/20/21 at 09:43 AM.
  Reply With Quote