View Single Post
07/06/17, 04:55 PM   #4
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
Originally Posted by rewt3498 View Post
I just realized I didn't mention I'm using the gamepad UI. You are right: When I tested the code in non-gamepad mode, it makes the whole quest tracker transparent. In gamepad mode, it only makes the goal transparent while leaving the yellow quest title untouched.

Any ideas as to the cause of that?
Oh OK, that changes everything. :P I'm not used to the gamepad interface, but I took a look and I think found it.

You have to change the alpha for 3 separated controls, not sure why since they all has the same parent, anyway, here it is:

Lua Code:
  1. local alpha = 0.5
  2. ZO_FocusedQuestTrackerPanel:SetAlpha(alpha)
  3. ZO_FocusedQuestTrackerPanelContainerQuestContainerAssisted:SetAlpha(alpha)
  4. ZO_FocusedQuestTrackerPanelContainerQuestContainerTrackedHeader1:SetAlpha(alpha)

There's also "ZO_FocusedQuestTrackerPanelContainerQuestContainerTrackedHeader2" though I don't know in which situation this one appear, since normally it seems unused.
  Reply With Quote