Thread: New 1.6 error
View Single Post
03/06/15, 11:47 PM   #16
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by circonian View Post
Yeah, it looks like a bug. I'm not sure why adding a fragment to the hud scene would cause it. I created a test addon with minimal code & added a label to the hud scene & it still causes the error. So I created a thread for it to see if anyone else has any ideas or maybe get a ZOS response if its a bug: HUD_SCENE:AddFragment
Use ZO_HUDFadeSceneFragment instead of ZO_FadeSceneFragment.

This works:
Lua Code:
  1. --lines 2177-2181:
  2.     self.FRAGMENT_DIRECTION_ARROW = ZO_HUDFadeSceneFragment:New(self.reticleWin)
  3.     self.FRAGMENT_GROUP_DIRECTION_ARROW = ZO_HUDFadeSceneFragment:New(self.reticleGroupWin)
  4.    
  5.     HUD_SCENE:AddFragment(self.FRAGMENT_DIRECTION_ARROW)
  6.     HUD_SCENE:AddFragment(self.FRAGMENT_GROUP_DIRECTION_ARROW)
  Reply With Quote