SC2Mapster Forums

Development > Triggers

Dialog image behind the dialog border?

  • 3 posts
    #1 Dec 12, 2012 at 16:32 UTC - 0 likes

    I am creating a dialog, which I've assignet a custom background for, but I also want to to fill the empty space inside it with an image, I've tried creating a dialog image, but it lays on top of the border of the dialog, is there any way to make it lay underneath the dialog border? Currently this is my trigger:

    ScoreBoard
        Events
            Game - Map initialization
        Local Variables
            X = 0 <Integer>
        Conditions
        Actions
            Dialog - Create a Modal dialog of size (700, 800) at (0, 50) relative to Top of screen
            Dialog - Set the background image of (Last created dialog) to Assets\Textures\ui_mercenary_mercbuttonframe.dds
            Dialog - Create an image for dialog (Last created dialog) with the dimensions (690, 790) anchored to Center with an offset of (0, 0) setting the tooltip to "" using the image Assets\Textures\ui_battlenet_replay_backdrop.dds as a Normal type with tiled set to False tint color White and blend mode Normal
            Variable - Set Stats Board = (Last created dialog)
            Dialog - Show (Last created dialog) for (All players)
    
    #2 Dec 12, 2012 at 16:43 UTC - 1 like

    Use this: http://www.sc2mapster.com/wiki/galaxy/triggers/set-dialog-item-render-priority/

    #3 Dec 12, 2012 at 17:00 UTC - 0 likes

    Thank you :) But I found another solution, I just found an image and set it to a border.

  • 3 posts

You must login to post a comment. Don't have an account? Register to get one!