You need a Portrait type dialog item and then need to set the size and model for it.
There are several other details you should be aware of:
Use Set Dialog Item Render Type to HDR for any Image dialog items and the Portrait dialog item to LDR to prevent the model appearing behind the image irrespective of render priority.
Setting the scale of the actor for the portrait models is near impossible so use the Invisible model and host your hero actor as a Model type actor attachment. To send actor messages to portraits you need to have a Wait For Portrait To Load action before the Send Actor Message action.
Using global actor references (::global.yourstringhere) and the Reference Set actor event action it is then possible to mark these created actors under a variable for giving them future commands.
If you pm me your email I can send you a demo map.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
The method mentioned above is pretty much how most of the WoL campaign hub map was done.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
You need a Portrait type dialog item and then need to set the size and model for it.
There are several other details you should be aware of:
Use Set Dialog Item Render Type to HDR for any Image dialog items and the Portrait dialog item to LDR to prevent the model appearing behind the image irrespective of render priority.
Setting the scale of the actor for the portrait models is near impossible so use the Invisible model and host your hero actor as a Model type actor attachment. To send actor messages to portraits you need to have a Wait For Portrait To Load action before the Send Actor Message action.
Using global actor references (::global.yourstringhere) and the Reference Set actor event action it is then possible to mark these created actors under a variable for giving them future commands.
If you pm me your email I can send you a demo map.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg