• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

HIVE

Tasyen
Tasyen
Difficult without any code Info.
It probably is either a level, order of creation or parent problem.
Parent and child need to be of the same Family. Simple and non Simple Frames don't mix. Hence changing parentship can fail.
When you create Frames for a parent they are added to the end of the loose child list and therefore take the top position. Therefore when box and buttons have the same parent make sure the box is the first created one.
For example a Button childlist would be
wierd-childframe-order-jpg.356778


if the button belongs to the simple Frame family then the box needs to be a offspring of one of the first 5 childs of gameUI (if you want it to be below the Simple Frame Layer, as a loose child of GameUI it takes far higher indexes).
Children of ORIGIN_FRAME_GAME_UI
[0] ORIGIN_FRAME_WORLD_FRAME
[1] Probably Parent of World Object Hover info box & HP/Mana Bars
[2] BottomUI Black Background "ConsoleUIBackdrop"
[3] Parent of ORIGIN_FRAME_PORTRAIT
[4] InventoryText, Related to the visuals of SimpleFrames, hiding it makes all SimpleFrames not visible but still clickable
[5] Day Time Clock & Minimap are affected by this one, maybe ancestor/Parent

I hope that helped you, good luck.
Pwnica
Pwnica
hey Tasyen, Thank you for evry help i have a last question..
is there a way to set the visibility of to false for
ORIGIN_FRAME_PORTRAIT_HP_TEXT
ORIGIN_FRAME_PORTRAIT_MANA_TEXT

would be nice if you can quick anwser me :)
Top