| 02-29-2004, 11:45 PM | #1 |
after a wait action how can i have a action remember what happened before the wait? Naga sea witch Events Unit - A unit Dies Conditions (Unit-type of (Triggering unit)) Equal to Naga Sea witch Actions Set unit[1] = (Dying unit) Set playerd[1] = (Owner of (Triggering unit)) Sound - Play Hint <gen> Game - Display to (All players) the text: Naga Sea witch has... Cinematic - Ping minimap for (All players) at (Position of unit[1]) for 5.00 seconds Leaderboard - Remove playerd[1] from (Last created leaderboard) Wait 10.00 seconds Game - Display to (All players controlled by a (playerd[1] controller) player) the text: You have died You ... Wait 17.00 seconds Game - Display to (All players controlled by a (playerd[1] controller) player) the text: YOu can now... even using variables the actions after the waits will not remember what player to display text for and instead displays to all how do i have those actions display to the correct player? |
| 02-29-2004, 11:50 PM | #2 |
Wait 10.00 seconds Game - Display to (All players controlled by a (playerd[1] controller) player) the text: You have died You ... Wait 17.00 seconds Game - Display to (All players controlled by a (playerd[1] controller) player) the text: YOu can now... to Wait 10.00 seconds Game - Display to playerd[1] the text: You have died You ... Wait 17.00 seconds Game - Display to playerd[1] the text: YOu can now... --- Did this work? |
| 03-01-2004, 01:50 AM | #3 |
playerd is a player array to display the message to playerd(1) , playerd would have to be a player group, im going try adding the owner of unit to player group array and then try to display to the player group now EDIT: ahhh just by testing one hero (unfortunately i had to murder her for the purposes of this test...im sory) it seems like using a player group array works! |
| 03-01-2004, 02:11 AM | #4 |
You can convert variables within triggers. |
