Originally Posted by Mitsarugi
the error is (using Zbug):
lua Code:
Error: 4 / 4 Time: 13:06:27 Gametime: 323.748 Count: 1 Load[WindowTemplates.xml(76, 17)] (Control): Error: Unable to create control [$(parent)MungeOverlay].
thanks i'll try that out
as for the code i use it was like this (just renamed it to "window")
Lua Code:
local AtlasMapBackGroundDummy = wm:CreateControl("AtlasMapBackGroundDummy", AtlasWindow, CT_TEXTURE) AtlasMapBackGroundDummy:SetDimensions(548, 548) AtlasMapBackGroundDummy:SetAnchor(RIGHT, AtlasWindow, nil, -46, 80) AtlasMapBackGroundDummy:SetDrawLayer(0) local AtlasMapBackGround = wm:CreateControlFromVirtual(nil, AtlasMapBackGroundDummy, "ZO_DefaultBackdrop") AtlasMapBackGround:SetAnchorFill(AtlasMapBackGroundDummy) AtlasMapBackGround:SetDrawLayer(0)
|
When I wrote "your
window must have name" I ment "your
control must have name" sorry for that.
When you change this line, it should work:
Lua Code:
local AtlasMapBackGround = wm:CreateControlFromVirtual("AtlasMapBackGroundDummyBG", AtlasMapBackGroundDummy, "ZO_DefaultBackdrop")