This is an odd one and I asked anyone I could find before coming to this.
The trigger is so:
All Players -
Condition > [Player] has suffered exactly 1 death of [Unit name].
Actions > Display for current player: [Text]
*Note: All words underlined are elements that can be changed.
But for some reason this wont work! Whats the deal? Everyone else who makes maps similar to mine said do this, and I did, but still no results.
[Player] might not be the correct player.
Example, You might have the trigger Player 1...blah blah blah
and you want the text to be displayed for Player 2
Make sure it is for the correct player, or make it for current player or all players
And make sure to set the deaths back to zero or it will spam!
I forgot to state this is for ALL PLAYERS. My friend also loaned me his map (for learning purpose) to show me how he did his death message triggers (Because his worked), mine were the exact samething and yet mine did not work.
Try another condition or make in in two triggers, player X suffers 1 death, add 1 custom score.
player X has exactly 1 custom score, displaytext,substract 1 death and 1 custom score.
QUOTE(Kupo @ Apr 11 2006, 04:09 AM)
And make sure to set the deaths back to zero or it will spam!
[right][snapback]462827[/snapback][/right]
it will not spam becawse there is no Preserve trigger
ADDITION:
QUOTE(Valaraukar @ Apr 11 2006, 03:53 AM)
This is an odd one and I asked anyone I could find before coming to this.
The trigger is so:
All Players -
Condition > [Player] has suffered exactly 1 death of [Unit name].
Actions > Display for current player: [Text]
*Note: All words underlined are elements that can be changed.
But for some reason this wont work! Whats the deal? Everyone else who makes maps similar to mine said do this, and I did, but still no results.
[right][snapback]462814[/snapback][/right]
think about this: maybe the player you selected will never suffer any death of unit. maybe you mixed up units like Marine & Jimmy Raynor (marine)
Preserve the trigger and set it back to 0 kills of any unit
QUOTE(Valaraukar @ Apr 10 2006, 06:53 PM)
This is an odd one and I asked anyone I could find before coming to this.
The trigger is so:
All Players -
Condition > [Player] has suffered exactly 1 death of [Unit name].
Actions > Display for current player: [Text]
*Note: All words underlined are elements that can be changed.
But for some reason this wont work! Whats the deal? Everyone else who makes maps similar to mine said do this, and I did, but still no results.
[right][snapback]462814[/snapback][/right]
make sure that the condition unit is actually on the map and that you're not confusing it with some other unit like jammed mentioned. also, make sure that you're not altering the deaths of the unit with another trigger. also, try making it "at least 1" instead of exactly. there shouldn't be any harm in this, as you have no preserve trigger.
QUOTE(7-7 @ Apr 11 2006, 08:06 AM)
Preserve the trigger and set it back to 0 kills of any unit
[right][snapback]463114[/snapback][/right]
and wth is the point of this?
So it can happen more than once, if he wants, and to set back to zero kills of that unit so it will work again! Without it, it would keep repeating the message, and it would only happen once in the game!
You Are actually setting the deaths somewhere for the correct players? Are you sure that unmentioned trigger is running?
In your condition you should have "Current Player" listed.
You might try "at least" Zeratul_101 said, Its highly probable that you have some trigger like "Set deaths for Force 1 to add 1" owned by multiple players. Ither way if try it and it doesn't work we know what is NOT the problem.
Yeah, I had this problem with a hero thing in one of my OLD OLD maps. Although it might've been different. There are two (possible) problems.
Players: Sometimes the amount of players included in a trigger affects the values. For example: "All players" would cause it to require 1 death for EVERY player.
At least: If there is a possibility of killing two units at once, never use the "exactly" condition.
remember you cant set kills for a player back to 0!!!!
Um, we're not talking about kills, we're talking about deaths, which you CAN set.
Not to mention the fact that there is no preserve trigger in the first place so he doesn't need to set deaths, either.
AND the fact that his problem was in the players the deaths and trigger applied to, not with the number of deaths.