Hello i have one question,
i create new button "options" on inventory.otui. how can I give the button a command to open to me Options Panel (like main "options" button in the top menu). Can anyone help? I do not have strength anymore
i create new button "options" on inventory.otui. how can I give the button a command to open to me Options Panel (like main "options" button in the top menu). Can anyone help? I do not have strength anymore
Lua:
OptionsBox < Button
image-source: /images/game/combatmodes/options
image-clip: 0 0 43 20
$pressed:
image-source: /images/game/combatmodes/optionsclick
image-clip: 0 0 0 0
OptionsBox
id: optionsBox
anchors.top: prev.bottom
anchors.right: prev.right
margin-top: 3
margin-right: 0
width: 43
height: 20