• 0

    posted a message on Dialog Item Button

    Hi All, I've been trying to create prettier dialog buttons because the default ones are so ugly. They look okay until they're clicked or hovered over. How can I fix this?

    Also I've noticed a lot of normal over hover over type images, they look like they're meant to be used as button backgrounds - but I have no clue how to do so... Can anyone shed some light on this?

    Thanks in advance.

    Posted in: Triggers
  • 0

    posted a message on Need help with passive behaviours

    @BLVCKSHVDE: Go

    Hey sorry, the actual validator type is called Unit Compare Damage Dealt/Taken Time,... but it might as well as be what I said.

    Here's a test map so you can understand more concretely.

    2 Validators

    • Unit Compare Damage Dealt Time
      • Compare: Greater Than
      • Value: x seconds
    • Unit Compare Damage Taken Time
      • Compare: Greater Than
      • Value: x seconds

    1 Behavior

    • Buff
      • Modification - Cloak
      • Validators (Disable) - Add our validators

    You need to create the validators and change the parent type to what I listed. But basically this is what I did, the other misc stuff you probably know how to do.

    Posted in: Data
  • 0

    posted a message on Moving item container

    are you sure yo can move them? I've found a different way to move them by moving the inventorypanel instead. http://us.battle.net/sc2/en/forum/topic/7592200033 This guy says that you can't move them directly.

    Can you put up a test map?

    Posted in: UI Development
  • 0

    posted a message on Moving item container

    Have you tried? It's not working I'm pretty sure I have the right container too lol

    Posted in: UI Development
  • 0

    posted a message on How to loop each unit?

    Generally i do something

    unitgroup g = UnitGroup(blah blah);
    unit fog;
    int i;

    for (i = 0; UnitGroupUnit(g, i) != null; i += 1){
    fog = UnitGroupUnit(g, i);
    blah blah
    }

    or instead of UnitGroupUnit(g, i) != null you can do i <= UnitGroupCount(g, c_unitCountAll) it's the same thing, better yet save the maxUnitIndex to a variable instead of checking it every loop.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Need help with passive behaviours

    3 Validator(s)
    UnitLastTimeDealtDamage - x seconds, greater
    UnitLastTimeTakenDamage - x seconds, greater
    Combine ^

    1 Buff
    - Modification - Cloak
    - Validation(disable) - Combined Validator

    1 Button
    - Set your icon, tooltip, but not hotkey

    Give your unit buff, and in the command panel you can add the button, set it to passive and set behavior to your buff.

    Posted in: Data
  • 0

    posted a message on (Solved) Is there a reasonable way to move Data stuff from one map to another?

    I have done XML transfer before, and it was relatively easy and fast. It is way easier and faster than copying data. You also need an mpq editor so you can change the locale txt files if you have stuff like requirements, suffixes or prefixes.

    Posted in: Data
  • 0

    posted a message on Moving item container

    img

    Before I start, I'd like to thank Helral, greythepirate and all the others here at the mapster for all their commitment and time providing precious tutorials, snippets, and love. While some things are intuitive, others tend to be so mind boggling... like how the commandtooltip frame's parent is actually not the commandpanel but the clayer or something?

    Anyways back to topic - I've made a decent start to my UI but another road block again }:< I think I've read (a long time ago, very vaguely) that it wasn't possible to move these. But I can't seem to find any threads about them anymore. Is it possible to move these - or will I have to meet my nightmares of creating another cumbersome system..

    Thanks in advance!

    Posted in: UI Development
  • 0

    posted a message on Weapon Icon Bug + Questions

    @ArcaneDurandel: Go

    Thank you for the confirmation. +1

    Posted in: Data
  • 0

    posted a message on Weapon Icon Bug + Questions

    Pic 2

    Pic 1

    So lots of unusual stuff occurred after 3.0, most of which I got around but I can't seem to get this one to work...? Also is there a way to get rid of the blank upgrade slot?

    Thanks in advance.

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