Warcraft III resources & community, 2003–2006 · archived

Erm: text on event... Help plz :D

3 posts
#1

Erm: text on event... Help plz :D

Event : a Unit changes owner

How to make a text that will be shown to all and it will say : <Unit> changes owner from <1Plr> to <2Plr)>

Remember there are more than 2 players, so not so easy
#2
Not so easy. Working on it.

Edit: Hm, again took me only 5 mins

ChangingOwner
Events
Unit - A unit Changes owner
Conditions
Actions
Game - Display to (All players) the text: ((String((Unit-type of (Triggering unit)))) + ( changed the owner from + ((Name of (Previous owner)) + ( to + (Name of (Owner of (Ownership-changed unit)))))))

But I think it's a bit difficult to understand. If you don't understand it, I'll give a more detailed description. Small hint: concatenate strings
#3
or create a floating text above the unit with DarkShadows text