Its a feature and actually quite helpfull. Just use a if statement and another variable to sort out the ones you dont want. It has one disadvantage though - if your unit is level 1 and gets enough xp to reach level 9, the trigger fires 8 times telling you you reached level 9...
- Registered User
Member for 10 years and 10 months
Last active Tue, Oct, 30 2012 14:53:58
- 0 Followers
- 142 Total Posts
- 0 Thanks
Jun 28, 2011_ForgeUser6030541 posted a message on [UI] SC2Layout Files: Override method (Aiurchef method)Posted in: Tutorials
Did you guys find a way to move the game time window? I can't find the corresponding layout file...
Jun 18, 2011Posted in: Trigger Libraries & Scripts
Suprise! It is a dialog... (Built-In>UI>Boss Bar) Blizzard realized it as I did it, but way more inefficiont since they almost completly redraw the entire dialog instead of only updating the health bar. Still, no lag using theirs... I don't get it.
Jun 17, 2011Posted in: Trigger Libraries & Scripts
I am not shure weather this will work. I mean, it is definantly possible to make a boss bar using dialogs. The problem is that regenerating health is a fast paced action. I tested a simple boss bar on a boss with high regeneration. If you use the "health changed" trigger to update the boss bar, it will break down the map script. 1-2 frames per second. I will be trying to modify the blizzard boss bar and incorporate it in my bossbar. I will post it here if it works.
May 18, 2011Posted in: Miscellaneous Development
The Preload Sound trigger is still causing trouble for me. It doesn't seem to do anything.
I have a trigger set up like the following;
Sound:Initialization Events Game - Map initialization Local Variables Conditions Actions ------- Hypnotic Rigtheous Game - Preload Intro 01 - Hypnotic Righteous.mp3 Immediately Game - Preload Track 01 - Hypnotic Righteous.mp3 Immediately
Playing one of these sounds using the Play Sound trigger still causes lag.
May 17, 2011Posted in: Miscellaneous Development
I have trouble making a map preview image.
I know that using Map > Map Info I can set the small/large preview images and I assume these are for the list- and detailed view of the map. I selected Custom image and provided a tga file - with no success. All I got was a yellow preview image that said "img:" on the top.
Converting the tga image to .dds format using paint.net made the editor crash on file import. Later, I used Aorta to convert the images to .dds and could import them. With this done and the .dds image selected as small/lage preview image the image box in battle.net is now empty. -_-
I see so many preview images so it has to work somehow Please help, it is so frustrating to get stuck with stuff like this...
May 4, 2011Posted in: Miscellaneous Development
Again, old... but important! Didn't helpt me much, but if you use the "play sound/soundtrack" action and specify the sound directly (not using a vaiable or function) it is preloaded and no lag occurs at all. Unfortunatly, if you have many sounds to play this is kind of a dirty way and the "preload sound" action doesn't help somehow...
WOW, no one mentioned that enabling the stream method strippes you of the power to play the sound more than once at the same time, this really sucks!
Apr 11, 2011Posted in: Tutorials
Doesn't work. Once I try to format the tooltip everything gets screwed up.
<Constant name="MessageButtonTooltip" val="View message log. (<c val=FFFFFF>F11</c>)"/> <Constant name="MessageButtonTooltip" val="View message log. (<c val='FFFFFF'>F11</c>)"/> <Constant name="MessageButtonTooltip" val="View message log. (<c val="FFFFFF">F11</c>)"/>
All versions dont work once I refrence them like this;
<Constant name="MessageButtonTooltip" val="View message log. (<c val=\"FFFFFF\">F11</c>)"/>
Doesn't work either...
Apr 10, 2011Posted in: Miscellaneous Development
I used the "Mouse Moved" event to move one of my dialogs with the mouse at a certain point. It seems the returned value of "Mouse Moved UI Pos X" is limited to 1599, which in my case is about 3/4 of screensize from the left.
This results in the dialog not beeing moved in the right part of the screen.
Did I do something wrong, or can this be changed?
Thanks for the help, elunder
- To post a comment, please login or register a new account.