- Joined
- Aug 4, 2018
- Messages
- 2
Hi, I want a trigger that displays player kills, example.
Player 1 kills Player 2, I would like it to say
"Player 1 killed Player 2" using Player 1 and 2's player names and have Player 1 be red, and 2 be blue.
I currently have it set up as
Events-> Unit - A unit Dies
Conditions -> ((Triggering Unit) is a Hero) Equal to True
(Owner of (Dying Unit)) Equal to Player 2 (Blue)
(Owner of (Killing Unit)) Equal to Player 1 (Red)
Actions -> Game - Display to (All players) the text: (Name of Player 1 (Red))
Game - Display to (All players) the text: has killed
Game - Display to (All players) the text: (Name of Player 2 (Blue))
With this trigger, when Red kills blue it comes up as
"Reds Name"
has killed
"Blues Name"
I was wondering if anybody can help me make a trigger that displays all of this on one line? Maybe through the use of Variables? Though I'm not the most experienced when it comes to that so I'd need some help.
Player 1 kills Player 2, I would like it to say
"Player 1 killed Player 2" using Player 1 and 2's player names and have Player 1 be red, and 2 be blue.
I currently have it set up as
Events-> Unit - A unit Dies
Conditions -> ((Triggering Unit) is a Hero) Equal to True
(Owner of (Dying Unit)) Equal to Player 2 (Blue)
(Owner of (Killing Unit)) Equal to Player 1 (Red)
Actions -> Game - Display to (All players) the text: (Name of Player 1 (Red))
Game - Display to (All players) the text: has killed
Game - Display to (All players) the text: (Name of Player 2 (Blue))
With this trigger, when Red kills blue it comes up as
"Reds Name"
has killed
"Blues Name"
I was wondering if anybody can help me make a trigger that displays all of this on one line? Maybe through the use of Variables? Though I'm not the most experienced when it comes to that so I'd need some help.