It's used in so many missions that I would assume it's part of a mod or library. I'll edit this if I can find it.
Yup, like I thought, it's included as a library inside the mod file. Add the swarm (campaign) dependency, and it's under the library list at "Campaign (Swarm) -> Campaign -> UI -> Hero UI".
It looks like you should just have to call "Set Hero Panel Unit" and everything else will be handled automatically. The only issue is that the icon won't change if you're not using one of the actual heroes within the HotS campaign, so you'll need to modify that action yourself and add the icon you want (under the first switch action inside).
To get the hero panel, you need the Swarm Story dependancy. Then in the trigger editor, create a trigger where the action is to create a Hero Panel for the unit.
However, I haven't figured out how to edit the panel itself. So you get it up there, but nothing works except for health.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do I create the hero icon in the upper left corner, as in the HotS campaign?
It's used in so many missions that I would assume it's part of a mod or library. I'll edit this if I can find it.
Yup, like I thought, it's included as a library inside the mod file. Add the swarm (campaign) dependency, and it's under the library list at "Campaign (Swarm) -> Campaign -> UI -> Hero UI".
It looks like you should just have to call "Set Hero Panel Unit" and everything else will be handled automatically. The only issue is that the icon won't change if you're not using one of the actual heroes within the HotS campaign, so you'll need to modify that action yourself and add the icon you want (under the first switch action inside).
uhmm - I cant seem to be able to locate this?
I imported the dependensy, but I cant find it?
To get the hero panel, you need the Swarm Story dependancy. Then in the trigger editor, create a trigger where the action is to create a Hero Panel for the unit.
However, I haven't figured out how to edit the panel itself. So you get it up there, but nothing works except for health.