For some reason, even with always display text, some of my texts and pings don't work for all the players as this trigger intended, anyone know why? I think for some reason it only works for player 1 or whatever the first person on the list is
Checked for all players,
Condition:
All player has suffered at least 1 death of Zhang Jesus
Response:
Display text for current player : Don't worry my childrenn, I'll be back in 3 days!
Display text for current player : Wild Zhang Jesus appeared!
create 1 Zhang Jesus at prison x for player 8
show minimap ping for current player at prison X
show minimap ping for current player at prison X
modify death count for all players : set to 0 for zhang jesus
preserve trigger
Edit: My bad, didn't read it. When you say all players, do you mean the "all players" box or each player?
i've tried it for both all player box and each players box checked
has to do with trigger order, notice how you set deaths of zhang to zero? when P1 runs the trigger, deaths is at one so it runs. as he is running it, deaths is set to zero. when its player 2's turn to run the trigger, deaths is at zero(not 1, which the trigger requires to run). this same thing happens to the rest of the players.
In your conditions change all players to current player and then set the deaths for the players you want it to work for.
Don't forget to change the Set deaths for all palyers to 0 at the botom to current player.
well, I want it to display a message to all players when this character is killed instead of when it is only owned by you, would that work?
Do this:
Computer player; All players suffers atleast 1 death of Zheng: set deaths for all players to 1 Cave, set deaths for all players to 0 zheng, create unit.
All Players; Current player suffers atleast 1 death of cave: Display text, ping, Set deaths of cave for current player to 0.
read my post and 'remove the set D to o'. now, create this trigger for the last player on the map after their message trigger:
deaths of zhang at least 1
set deaths of zhang to 0.
ADDITION:
make my triggers the very last trigger for the very last player to run the message trigger
If the last player on the map is a computer player, I'd suggest zeratul's way. If not, do my way.
Oh my bad, I didn't see the create unit. If you did it my way you would end up with a lot of units created. I'd suggest going with Fritfrat's.
I edited in the create unit afterwards with mine, too
Even with zeratuls, you could have the same trigger that sets the deaths to 0 to create the unit.
easier method:
Condition:
All player has suffered at least 1 death of Zhang Jesus
Response:
Display text for current player : Don't worry my childrenn, I'll be back in 3 days!
Display text for current player : Wild Zhang Jesus appeared!
remove all zhang jesus at prison x for player 8
create 1 Zhang Jesus at prison x for player 8
show minimap ping for current player at prison X
show minimap ping for current player at prison X
preserve trigger
the bold is what i added in and should be the simplest method to counter producing too many units. i also took out the set death to 0. so just copy this trigger and add in my other trig.
ADDITION:
by simplest, i mean most compatible with everyones methods, whichever one you choose to use.
this will work, but will it create a blinking jesus effect?
err, no. especially if you use hypers.
QUOTE(Zeratul_101 @ Aug 12 2006, 07:29 PM)
err, no. especially if you use hypers.
[right][snapback]544081[/snapback][/right]
Hypers don't matter if it's in the same trigger.
>
Solved.