I have a dialog and a timer I want to appear when the player's hero dies. However, that unit is not pre-placed and I also only want to show them to the player whose unit died. I've tried making a variable to make triggering player but it doesn't seem to work. How do I make it visible to them?
Also I don't understand why this is happening. I have a dialog that is showing up but the buttons aren't working even though I checked and the triggers line up. I have when button one is clicked do this and yet nothing happens. What's wrong with my dialogs and timers?
I know know why there's so many issues with this as its one simple trigger. Make sure that dialog as well as the timer window are saved to global variables. Have an trigger with the event any unit dies, add conditions for to confirm only heros units activate it, and just show/hide dialog or timer window for trigger player or you most likely will need convert player to playergroup then triggering player.
Rollback Post to RevisionRollBack
When I want your opinion...I'll give it to you!
To post a comment, please login or register a new account.
I have a dialog and a timer I want to appear when the player's hero dies. However, that unit is not pre-placed and I also only want to show them to the player whose unit died. I've tried making a variable to make triggering player but it doesn't seem to work. How do I make it visible to them?
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
Anyone know?
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
Also I don't understand why this is happening. I have a dialog that is showing up but the buttons aren't working even though I checked and the triggers line up. I have when button one is clicked do this and yet nothing happens. What's wrong with my dialogs and timers?
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
Someone answer please? I would really like to fix this and I've been trying way too long.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
no one knows?
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@fishy77: Go
Make an array with the amount of players in it. Make a second array to track the Hero units.
Then make your trigger "pick each player" and make a similar trigger to this:
If (Tracked hero from array) dies Then show message to (Picked Player)
I'm new here as well, so My answer may not be satisfactory. I hope it leads you on the right track!
I know know why there's so many issues with this as its one simple trigger. Make sure that dialog as well as the timer window are saved to global variables. Have an trigger with the event any unit dies, add conditions for to confirm only heros units activate it, and just show/hide dialog or timer window for trigger player or you most likely will need convert player to playergroup then triggering player.