In my game, normal units which are able to kill a heroic unit gain a buff that increases their stats. It can stack a maximum of three times, and this buff is signified with a star over the units head. The more the behaviour stacks, the more stars there are. Each star is in fact a separate image (first image has one start, second has two stars...), and currently I have it working great with actors and attaching the text actor (the star) to the units head, and replacing the actor with another actor when the behaviour stacks. However, when you zoom, the status bar can cover the star, not to mention that since the star is a floating text that stays over the unit, it seems it should be a billboard rather than an actual actor attached to the unit's head.
Therefore, is there any way I can attach this image to the status bar with the actors? Otherwise, would something comparable be possible using the UI editor (which I'm far from versed in, albeit with a general concept nonetheless)?
It would definitely be possible by creating a custom unit status bar with an image. Then, using the trigger action "Hookup Unit Status" or something like that, get the image as a dialog item, and change the image via trigger.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my game, normal units which are able to kill a heroic unit gain a buff that increases their stats. It can stack a maximum of three times, and this buff is signified with a star over the units head. The more the behaviour stacks, the more stars there are. Each star is in fact a separate image (first image has one start, second has two stars...), and currently I have it working great with actors and attaching the text actor (the star) to the units head, and replacing the actor with another actor when the behaviour stacks. However, when you zoom, the status bar can cover the star, not to mention that since the star is a floating text that stays over the unit, it seems it should be a billboard rather than an actual actor attached to the unit's head.
Therefore, is there any way I can attach this image to the status bar with the actors? Otherwise, would something comparable be possible using the UI editor (which I'm far from versed in, albeit with a general concept nonetheless)?
It would definitely be possible by creating a custom unit status bar with an image. Then, using the trigger action "Hookup Unit Status" or something like that, get the image as a dialog item, and change the image via trigger.