06/20/14, 08:38 PM | #1 |
Troubbleshooting/error help
Im getting a warning
Gui Warning: Avoiding anchor cycle from [ZO_TargetUnitFramereticleoverName] to [ZO_TargetUnitFramereticleoverLevel] not too sure whats causing it tho this is how i am anchoring its only occuring when i disable and set Default Anchors i have this running OnUpdate only when shown too..... Lua Code:
**it seems as long as ZO_TargetUnitFramereticleoverLevel isnt anchored to ZO_TargetUnitFramereticleoverName everything is fine no error but isnt that the way its anchored default ?? ZO_TargetUnitFramereticleoverLevel:SetAnchor(RIGHT, ZO_TargetUnitFramereticleoverName, LEFT, -5, 0) ** is everyhting anchored to ZO_TargetUnitFramereticleoverTextArea would anyone know ? and then eso has just adjusted the x,y to proper places? any help would be awesome thank you Last edited by SkOODaT : 06/20/14 at 09:28 PM. |
|
06/20/14, 10:57 PM | #2 |
well this is what ive figured out to fix the error
Lua Code:
but if anyone knows how all the default text gets anchored to the target frame any insight would still be awesome this is more of a workaround to get everything aligned correctly without having the anchor error and to reloading the UI on disable :S |
|
06/20/14, 11:02 PM | #3 |
|
Well, an anchor cycle is when you have x anchored with reference to y, and y anchored with reference to x, at the same time. Maybe you could try clearing all anchors together, then setting them all, rather than clear/set, clear/set?
|
06/21/14, 04:13 AM | #4 | |
Lua Code:
But to be sure, you can store default anchors first: Lua Code:
Last edited by Garkin : 06/21/14 at 04:16 AM. |
||
06/21/14, 11:17 AM | #5 |
@Garkin you've helped me so much on this site recently thank you, ill try this out
|
|
06/21/14, 02:22 PM | #6 |
|
Garkin is awesome that way.
|
ESOUI » Developer Discussions » General Authoring Discussion » Troubbleshooting/error help |
«
Previous Thread
|
Next Thread
»
|
Thread Tools | |
Display Modes | |
|
|