View Single Post
03/05/23, 09:57 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,979
Had the same Problem and it's not a bug. If the unit below the reticle changes it will just use that one to assign the marker. You can do some checks as you add the marker by kesbind/function and also again at a ZO_PreHook of AssignTargetMarkerToReticleTarget() again: and if the current unit type or name does not match the one you saved as you started the keybind/function to add the marker you can return true to abort the assign.

This would at least fix a changed target below the reticle between your try to add it and the actual call of the assign Target Marker function execution. But if it changes after that, no chance. Keep your crosshair stable and do not move :-)
  Reply With Quote