I wanted to create a command card that looked like:
_[1][2][3][4]_-[5][6][7][8]-
where buttons 9 and 10 are between the underline/hyphens.
My data editor has already used button 10 for the button we'd like to use in the middle left location, so I'd like to move it there, but my layout file is not moving it at all. I DO know that the layout file is in the right place because it's relocating and resizing correctly.
ur problem with button 10 is because you shouldnt use full path in fullpathed frame
you have to do like this
<frame name='root/sub/sub/name'>
<frame name='name'></frame>
</frame>
so just remove path in command button name
as for others:
<Frametype="CommandPanel"name="GameUI/UIContainer/ConsoleUIContainer/CommandPanel"file="GameUI"><!-- so we set 5th button right under 1st button--><Frametype="CommandButton"name="CommandButton04"template="CommandButton/CommandButtonTemplate"><Anchorside="Top"relative="$parent/CommandButton00"pos="Max"offset="#CommandButtonGap"/><Anchorside="Left"relative="$parent"pos="Min"offset="0"/></Frame><!-- then we rewrite 6th (new row) button to contrinue our 2nd row --><Frametype="CommandButton"name="CommandButton05"template="CommandButton/CommandButtonTemplate"><Anchorside="Top"relative="$parent/CommandButton04"pos="Min"offset="0"/><Anchorside="Left"relative="$parent/CommandButton04"pos="Max"offset="#CommandButtonGap"/></Frame><!-- then we move 9 and 10 somewhere else --><Frametype="CommandButton"name="CommandButton08"template="CommandButton/CommandButtonTemplate"><Anchorside="Top"relative="$parent/$parent/blabla"pos="Min"offset="0"/><Anchorside="Left"relative="$parent/$parent/blabla"pos="Max"offset="0"/></Frame><Frametype="CommandButton"name="CommandButton09"template="CommandButton/CommandButtonTemplate"><Anchorside="Top"relative="$parent/$parent/blabla"pos="Min"offset="0"/><Anchorside="Left"relative="$parent/$parent/blabla"pos="Max"offset="0"/></Frame><!-- and unbind 11 for hiding --><Frametype="CommandButton"name="CommandButton10"template="CommandButton/CommandButtonTemplate"><Anchorside="Top"relative="$parent"pos="Min"offset="over9000"/><Anchorside="Left"relative="$parent"pos="Max"offset="over9000"/></Frame></Frame>
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I wanted to create a command card that looked like:
where buttons 9 and 10 are between the underline/hyphens.
My data editor has already used button 10 for the button we'd like to use in the middle left location, so I'd like to move it there, but my layout file is not moving it at all. I DO know that the layout file is in the right place because it's relocating and resizing correctly.
Am I doing something wrong or is this impossible?
Thanks-
ur problem with button 10 is because you shouldnt use full path in fullpathed frame you have to do like this <frame name='root/sub/sub/name'> <frame name='name'></frame> </frame> so just remove path in command button name
as for others: