• 0

    posted a message on Variables: Why doesn't this math equation work?

    Do you use integer arithmetics?

    Integer Arithmetics:
    99/100 is 0.
    Round((99 / 100)) is 0.

    Real Aritmethics:
    99.0 / 100.0 is 0.99
    Round((99.0 / 100.0)) is 1.0.

    Posted in: Triggers
  • 0

    posted a message on How do I get rid of this thing?
    Quote from rtschutter: Go

    But that doesn't matter now, because your code worked you handsome devil. Thank you for solving my problem again. If you are ever in San Diego let me know and I'll buy you a beer.

    Buy me the plane tickets and I buy you a beer. :D

    Posted in: Triggers
  • 0

    posted a message on Something cool

    Are you aware that this is eating performance like crazy? :D

    But you showed us that we can use range actors for funky things...

    Posted in: General Chat
  • 0

    posted a message on [2.0.4] Dependencies broken?

    Do you use online and offline dependency? You can have 2 links per dependency: offline and online.

    Maybe that fixes it... =/

    Else, I would try to clear the cache folders in "C:\ProgramData\Blizzard Entertainment\StarCraft II\Maps\Cache"

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on (Solved) Two Problems: Unit Morph and Hero Shop

    If your actor doesn't change at all, then your old actor fails to destroy itself on morph and the new actor fails to create itself.

    Check the unit types in the terms (= conditions) being correct that check where you "morph from" or where you "morph to".

    Posted in: Data
  • 0

    posted a message on How do I get rid of this thing?

    Altering that template has no effect. Templates are applied to the things when they are created and the button you want to edit is created before you have a chance of altering the template, so your template changes shouldn't alter the button at all.

    The code that the template contained is then located within the button.

    So, please try this:

    <Frame type="AICommButton" name="GameUI/UIContainer/ConsoleUIContainer/AICommButton" file="GameUI">
            <Anchor side="Right" relative="$parent" pos="Max" offset="999"/>
    </Frame>
    

    I can't get the button to show up. :D Does that require being on battle.net and having allied AI players?

    Posted in: Triggers
  • 0

    posted a message on How do I get rid of this thing?

    Tried moving it offscreen?

    I like offsets of 9999, :D

    Posted in: Triggers
  • 0

    posted a message on 2.0.4 truncates text in labels

    http://i.snag.gy/ApRnX.jpg

    max text amount possible in a label works for me, more details are required to solve your problem.

    Posted in: Triggers
  • 0

    posted a message on How do I get rid of this thing?

    ctrl + alt + f12 during editor test mode, then the ingame UI editor is appearing, then click on it (use space to toggle the menu at the screen border). Try to find its name in the list and its path, note that down.

    Then you need to hide the frame that the button contains or the button itself around.

    You can do that via UImodule or trigger.

    For triggers, you need to hook it up with its path using its path + name without the leading "GameUI/" that you would add to it in the UI module.
    Example for hooking up things:

            Dialog - Hooks up an existing Panel in the standard UI called "UIContainer/FullscreenUpperContainer/MenuBarConsoleAnchor"
            Variable - Set HookedMenuBar = (Last created dialog item)
            Dialog - Move HookedMenuBar to (0, 324) relative to Bottom Right of dialog for (All players)
    

    Save the hooked up dialog item in a global variable. You can hook up UI frames only once.

    Posted in: Triggers
  • 0

    posted a message on Units with doodad models after patch.

    Made a wizzard for my solution and made my actor a bit easier to use via token.
    With the wizzard, you should easily find scaling values for your unit

    Have fun fixing selection problems of units with that. :)

    Posted in: Data
  • 0

    posted a message on Blizzard....why?

    People should use the Open Lobbies much more... :<

    At least they improved that list... you should have better chances in that now.

    Posted in: General Chat
  • 0

    posted a message on [FIX] Colors not showing in dialog-text (HOTS PATCH)

    Have a look in my list here, if something doesn't work. There might have been found a fix for it already.

    Posted in: General Chat
  • 0

    posted a message on Units with doodad models after patch.

    Does your solution suffer from the same problem that my first solution suffered from:
    Changing the unit owner makes the unit unable to be selected?

    If yes, I solved that and am working on a user friendly way to set that up. (My solution is already somewhere in the forum in a demonstration map with rotating, selectable question mark models).

    Posted in: Data
  • 0

    posted a message on little FAQ for Patch 2.0.4
    Quote from Forge_User_03903326: Go

    @Ahli: not mentioned on the link you have there:
    You can hide the error display by using the following trigger:
    Event - Timer - Elapsed time is 0.1 Game Time seconds
    Action - UI - Hide Error Display Panel for (All players)

    this trigger does not work when using map initialization as event.

    Added info about that linking to your post

    Posted in: UI Development
  • 0

    posted a message on little FAQ for Patch 2.0.4

    Reset width and/or height -> set to 0:

     <Width val="0"/> <Height val="0"/>
    

    "$this" in code like

    <Anchor side="Bottom" relative="$this" pos="Max" offset="0"/>
    

    is working fine, but it throws a warning for some reason, if you try to reset anchors. I guess that the warning is thrown during the changes because it always receives an invalid state while the whole layout changes are applied.

    This might be interesting for you...

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