• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

INgame text message with a specific player name

Status
Not open for further replies.
Level 5
Joined
Aug 23, 2008
Messages
116
Hi!

I want to create a text message like:

''<NAME>'' has been killed.

How can I add the name of the player in such a text message?

MfG

Cyrax

PS: Is there a guide for the WE that explains such questions?
 
Level 3
Joined
Aug 18, 2008
Messages
52
  • Untitled Trigger 001
    • Events
      • Unit - Peasant 0000 <gen> Dies
    • Conditions
    • Actions
      • Game - Display to (All players) for 30.00 seconds the text: ((Name of (Triggering player)) + got owned (killed))
(the stuff in ()'s are string 1 and string 2)
that help?
 
Level 5
Joined
Aug 23, 2008
Messages
116
My level says nothing about me, thrust me ;-)
Please give me the link or the name of the tool.
 
Level 5
Joined
Nov 14, 2007
Messages
161
as im sure u know, the code is:
Code:
|cffffcc00   Text goes here  |r
Depending on the color u want,
so with that being said, just break that first string1 into another string1 + string2 and add the first part of the code on:

  • Game - Display to (All players) the text: ((|cffffcc00 + (Name of (Owner of (Triggering unit)))) + just got pawned|r)
hope that helps
YO_MA_MA
 
Status
Not open for further replies.
Top