Got a question retaining to how to make the computer's AI control do things instead of just attack a position. Such things include, sieging, stiming, activing guardian shield etc.... Is there some special trigger that actives this? I'd like to grant convert control of a player's unit, order it to attack and allow the AI to control when it wants to active its abilities.
Next question I got is how do you make a custom health bar that FEELS like a health bar. I know that you must anchor the bar to something and it very much depends on the anchor and just decrease the size. But the images of the health bar still shrink and you can tell that the image is decreasing in width. What I want is a portion of the health bar to disappear instead.
HotS has a built in custom health bar system where you can attach Frames created in the UI Editor to Unit Actors in Data and Suppress the default Health Bars.
edit:
Here you can see an example of a Health Bar in HotS, Renee made a thread somewhere on this site on how to create them.
Got a question retaining to how to make the computer's AI control do things instead of just attack a position. Such things include, sieging, stiming, activing guardian shield etc.... Is there some special trigger that actives this? I'd like to grant convert control of a player's unit, order it to attack and allow the AI to control when it wants to active its abilities.
Next question I got is how do you make a custom health bar that FEELS like a health bar. I know that you must anchor the bar to something and it very much depends on the anchor and just decrease the size. But the images of the health bar still shrink and you can tell that the image is decreasing in width. What I want is a portion of the health bar to disappear instead.
You might find this thread helpful for your second question:
http://www.sc2mapster.com/forums/development/triggers/48348-solved-stacking-images-and-slowly-removing-top-image/#p17
HotS has a built in custom health bar system where you can attach Frames created in the UI Editor to Unit Actors in Data and Suppress the default Health Bars.
edit:
Here you can see an example of a Health Bar in HotS, Renee made a thread somewhere on this site on how to create them.
you can do that in WOL
oh yes BTW here for ui swap
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Thanks