• 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.

[Trigger] Floating text for one player.

Status
Not open for further replies.
Level 12
Joined
Apr 27, 2008
Messages
1,228
Create the floating text for everyone.
Hide it for everyone.
Use an if(custom script)
"Custom Script: if GetLocalPlayer()==Player(0) then"
Unhide the message
"Custom Script: endif"
P.s. this would show the message only to player 1.
 
Level 17
Joined
Jan 21, 2007
Messages
2,014
Is the custom script really necessary? I mean i did it like this:

hide (last created floating text) for (all players)
show (last created floating text) for (all players matching (owner of (killing unit)) is equal to (matching player))

Wouldn't this work?
Oh, it is for a passive ability that gives bonus gold when killing a unit, and i wanted it to show the bonus bounty besides the normal bounty this way.
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Be sure not to show both at the same time.
No it is not necessary. That is just what show some text for some player does.
 
Status
Not open for further replies.
Top