• 0

    posted a message on Rotatable Buildings

    Hey guys. I want to make a building able to be placed facing an angle (similar to photon cannons). I've looked through all of the fields and was only able to find 'Can Rotate' under the editor tab (if I remember correctly) which didn't work.

    Posted in: Data
  • 0

    posted a message on Dialog Assistance
    Quote from miheinen: Go

    It does. Try this code (note that I didn't save the Dialog Dialog items into variables because for this small demonstration there is no need to be):

            Dialog - Create a Modal dialog of size (500, 400) at (0, 0) relative to Center of screen
            Dialog - Create a button for dialog (Last created dialog) with the dimensions (76, 76) anchored to Top Left with an offset of (50, 50) setting the tooltip to "" with button text "" and the hover image set to ""
            Dialog - Create an image for dialog (Last created dialog) with the dimensions (76, 76) anchored to Top Left with an offset of (50, 50) setting the tooltip to "" using the image Assets\Textures\btn-command-cancel.dds as a Normal type with tiled set to true tint color White and blend mode Normal
            Dialog - Show (Last created dialog) for (All players)
    
    The button and the image have the same sizes and the same offset. You can click the button (you should hear the sound). Or create a second trigger:
        Events
            Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
        Local Variables
        Conditions
        Actions
            UI - Display "works!" for (All players) to Subtitle area
    

    It still doesn't seem to work.

    Posted in: Triggers
  • 0

    posted a message on Dialog Assistance

    It doesn't seem to detect clicks if I do that.

    Posted in: Triggers
  • 0

    posted a message on Dialog Assistance

    Hey guys. I'm making a hero selection system and have come across a problem. When the image of a hero's portrait is selected, it will choose that hero for a given player. However, I am unable to get the button and image dialog items to work correctly. No matter the order or options I select, it seems that I can never have a button that looks like an image (no hover image, etc...). Does anyone have any suggestions?

    Posted in: Triggers
  • To post a comment, please or register a new account.