Is it possible to change single unit`s portrait ingame?(not define it)
Tried to use portrait actor for this, but "Behavior.xxx.on -> ModelSwap.xxx" doesnt work.
Any other ideas? May be it possible using triggers?
Yes, i added events to portrait actor ("Behavior.xxx.on -> ModelSwap.xxx") and added this actor to field "Portrait actor" as i wrote before, but nothing happens. Interesting, i can change portrait team color using this method, but not model.
Portrait customise works fine, thx to all.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to change single unit`s portrait ingame?(not define it)
Tried to use portrait actor for this, but "Behavior.xxx.on -> ModelSwap.xxx" doesnt work.
Any other ideas? May be it possible using triggers?
If I had the same problem and no better ideas, i'd use a morph. But this depends on what causes the change.
Have a look at the Dark Templar actor events, it uses a PortraitCustomize message to change the portrait based on the used model variation.
Else you need to alter the events of the Actor: Portrait Actor used by the unit.
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
@FunBotan: Go Behavior + PortraitCustomize works just fine.
@DrSuperEvil: Go
Yes, i added events to portrait actor ("Behavior.xxx.on -> ModelSwap.xxx") and added this actor to field "Portrait actor" as i wrote before, but nothing happens. Interesting, i can change portrait team color using this method, but not model.
Portrait customise works fine, thx to all.