- Joined
- Feb 27, 2006
- Messages
- 49
im making trigger that detects when player kills another players hero and i have made a string varible with different messages to be displayed when a hero dies. the problem is that when i kill another hero the the variable messages doesn't show it only shows the dying player and the killing player.
look at my trigger maybe someone can help me
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Owner of (Dying unit))) + (Messages[(Random integer number between 1 and TotalMessages)] + ((Name of (Owner of (Killing unit))) + !!!!)))
i seriously can't see anthing wrong here but maybe you pro coders can help me
look at my trigger maybe someone can help me
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Owner of (Dying unit))) + (Messages[(Random integer number between 1 and TotalMessages)] + ((Name of (Owner of (Killing unit))) + !!!!)))
i seriously can't see anthing wrong here but maybe you pro coders can help me