View Single Post
02/08/19, 03:23 AM   #4
kinnaj93
AddOn Author - Click to view addons
Join Date: Dec 2018
Posts: 5
Okay, after some digging I noticed, it has to do something with one of the other addons I have. If I only enable LUI, the bar isnt visible anymore. I will check what addon makes the issue.

Okay:
The addon causing this to happen was "GameInfo". It had a default setting: "show player level" to always show the bar, which does the following:

Code:
function GI.DisplayStufe(displayMe)
	if displayMe==true then
		HUD_SCENE:AddFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
		HUD_SCENE:AddFragment(PLAYER_PROGRESS_BAR_CURRENT_FRAGMENT)
		HUD_UI_SCENE:AddFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
		HUD_UI_SCENE:AddFragment(PLAYER_PROGRESS_BAR_CURRENT_FRAGMENT)
	else
		HUD_SCENE:RemoveFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
		HUD_SCENE:RemoveFragment(PLAYER_PROGRESS_BAR_CURRENT_FRAGMENT)
		HUD_UI_SCENE:RemoveFragment(PLAYER_PROGRESS_BAR_FRAGMENT)
		HUD_UI_SCENE:RemoveFragment(PLAYER_PROGRESS_BAR_CURRENT_FRAGMENT)
	end
end

Last edited by kinnaj93 : 02/08/19 at 03:32 AM.
  Reply With Quote