------- Creating main dialog
Dialog - Create a Modal dialog of size (1000, 1000) at (0, 0) relative to Center of screen
Variable - Set MonoSetupUIPanel = (Last created dialog)
Dialog - Set MonoSetupUIPanel to be fullscreen True
Dialog - Hide the background image of MonoSetupUIPanel
Dialog - Create a Panel for dialog MonoSetupUIPanel using the template MonobattlesSetup/MonobattlesSetupTemplate
------- Attaching to it's contents
Dialog - Create a Image for dialog MonoSetupUIPanel using the template MonobattlesSetup/MonobattlesSetupTemplate/DialogImage
Variable - Set MonoSetupUIPanelImage = (Last created dialog item)
Dialog - Set MonoSetupUIPanelImage image to Assets\Textures\btn-unit-terran-marine.dds for (All players)
Dialog - Create a Label for dialog MonoSetupUIPanel using the template MonobattlesSetup/MonobattlesSetupTemplate/DialogBody
Variable - Set MonoSetupUIPanelLabel = (Last created dialog item)
Dialog - Set MonoSetupUIPanelLabel text to ""azaizazaza"" for (All players)
Dialog - Create a Button for dialog MonoSetupUIPanel using the template MonobattlesSetup/MonobattlesSetupTemplate/TestButton
------- Done
Dialog - Show MonoSetupUIPanel for (All players)
------- DELETE EVERYTHING BELOW
General - Wait 524287.0 Real Time seconds
So I am learning how to create UI for an arcade map using UI editor, and this is what I've come up with:
The same button appears twice on the layout for some reason. Why?
Is this something to do with dimension?
If you curious about the code:
And triggers: