Hello guys. What I want to do is to create a custom action which would be: Set "Portrait" model to "Model" for "Player".
So, after taking a look at the native Blizz libs, I've found the tew native actions that looked interesting to me: one is Set "Portrait" model to "Model" and "wait" - exactly what I need, but lacking the Player parameter and the other is "Show/Hide" portrait for "player" . - well, an action dealing with portraits with a nice Player parameter in it. So I began "combining those two" in my custom definition. Seeing as how the Built-in actions were shown in the editor, I noticed that there were just parameters and no way of telling how those parameters interracted with each other, for instance in the "show/hide portrait" it was:
And it works...but exactly like a built in action without a player parameter. Well, obviously I didn't found a way to link the Player parameter via actions.
So, please, help me out guys, I need to properly link that player parameter. Ultimately I'd set it to "Triggering player" anyway. THank you in advance. Cheers.
not exactly sure what you want to do. you cannot set the portrait for a certain player group unless you are using dialog portraits. the default ones can be shown to any playergroup. you can add a 2nd action to your custom action which shows the portrait param to the playergroup param.
what you need to do is, create the portrait using a dialog, and creating the portrait inside the dialog. There are dialog functions designed specifically for portraits (including set dialog item model), and all of these functions use the player group param to decide who actually sees those changes.
Hello guys. What I want to do is to create a custom action which would be: Set "Portrait" model to "Model" for "Player".
So, after taking a look at the native Blizz libs, I've found the tew native actions that looked interesting to me: one is Set "Portrait" model to "Model" and "wait" - exactly what I need, but lacking the Player parameter and the other is "Show/Hide" portrait for "player" . - well, an action dealing with portraits with a nice Player parameter in it. So I began "combining those two" in my custom definition. Seeing as how the Built-in actions were shown in the editor, I noticed that there were just parameters and no way of telling how those parameters interracted with each other, for instance in the "show/hide portrait" it was:
whereas the other one was:
So I did the same and obviously it didn't work: I created a new action which had best of the two worlds:
So I figured, okay, I should probably somehow make the parameterers linked with an action, so created this :
And it works...but exactly like a built in action without a player parameter. Well, obviously I didn't found a way to link the Player parameter via actions.
So, please, help me out guys, I need to properly link that player parameter. Ultimately I'd set it to "Triggering player" anyway. THank you in advance. Cheers.
not exactly sure what you want to do. you cannot set the portrait for a certain player group unless you are using dialog portraits. the default ones can be shown to any playergroup.
you can add a 2nd action to your custom action which shows the portrait param to the playergroup param.
Which action does that? I cannot seem to find a suitable one.
Thanks for the reply!
PortraitSetVisible(PorParam, PlayerGroupParam, true, true) ??
@FunkyUserName: Go
It still changes the model for ALL players first and then just shows it to the triggering player.
:(
what you need to do is, create the portrait using a dialog, and creating the portrait inside the dialog. There are dialog functions designed specifically for portraits (including set dialog item model), and all of these functions use the player group param to decide who actually sees those changes.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
Yup, I ended up doing just that. For some reason I wasn't aware of the Portrait type Dialog Items. Thank you anyway, sir!