- Joined
- Aug 1, 2009
- Messages
- 9
Does anyone know how to create an image above a unit that follows him when he moves? plz help.
There are available commands for adjusting the position of an image. Take the bar in Tides of Blood, for instance; they probably have a few image files that represent different sections of the bar. The position of these images are offset from the position of the unit that they are associated with.
Use this: Image Utils
The position of these images are offset from the position of the unit that they are associated with.
Use this: Image Utils
Or you can attach them to the overhead of the desired unit
native SetImagePosition takes image whichImage, real x, real y, real z returns nothing
.lol, didn't knew about that one, looks very useful, but, there's a way of making it look more like a Health bar but purple?
native SetImageColor takes image whichImage, integer red, integer green, integer blue, integer alpha returns nothing
that is available for modifying the color of your image; I imagine under proper circumstances this could be used to diversify what color is displayed, otherwise you're limited to the texture that is used.that showed mana bars aboe units jsut like health bars
Any unit with mana will have a mana-bar displayed over their head.
Any unit with mana will have a mana-bar displayed over their head.
No, they will not.