Staredit Network

Staredit Network -> UMS Assistance -> text displaying error
Report, edit, etc...Posted by Johnny69s on 2006-08-12 at 17:05:39
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
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-08-12 at 17:11:31
Edit: My bad, didn't read it. When you say all players, do you mean the "all players" box or each player?
Report, edit, etc...Posted by Johnny69s on 2006-08-12 at 17:12:50
i've tried it for both all player box and each players box checked
Report, edit, etc...Posted by Zeratul_101 on 2006-08-12 at 17:19:49
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.
Report, edit, etc...Posted by Urmom(U) on 2006-08-12 at 17:21:56
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.
Report, edit, etc...Posted by Johnny69s on 2006-08-12 at 17:27:11
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?
Report, edit, etc...Posted by fritfrat(U) on 2006-08-12 at 17:27:22
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.
Report, edit, etc...Posted by Zeratul_101 on 2006-08-12 at 17:31:05
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
Report, edit, etc...Posted by fritfrat(U) on 2006-08-12 at 17:31:32
If the last player on the map is a computer player, I'd suggest zeratul's way. If not, do my way.
Report, edit, etc...Posted by Urmom(U) on 2006-08-12 at 17:49:30
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.
Report, edit, etc...Posted by fritfrat(U) on 2006-08-12 at 18:13:13
I edited in the create unit afterwards with mine, too tongue.gif

Even with zeratuls, you could have the same trigger that sets the deaths to 0 to create the unit.
Report, edit, etc...Posted by Johnny69s on 2006-08-12 at 18:17:17
thanks
Report, edit, etc...Posted by Zeratul_101 on 2006-08-12 at 18:23:32
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.
Report, edit, etc...Posted by Johnny69s on 2006-08-12 at 19:08:45
this will work, but will it create a blinking jesus effect?
Report, edit, etc...Posted by Zeratul_101 on 2006-08-12 at 19:29:40
err, no. especially if you use hypers.
Report, edit, etc...Posted by LegacyWeapon on 2006-08-12 at 19:38:27
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.
Next Page (1)