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

Status
Not open for further replies.
Level 2
Joined
Jun 29, 2004
Messages
19
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
 
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
 
Status
Not open for further replies.
Back
Top