HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Showing texttag to 1 player

01-20-2007, 04:41 PM#1
Joker
You cant use GetLocalPlayer() for texttags. so how do you do this?
01-20-2007, 04:58 PM#2
Chocobo
Floating Text - Show Floating Text for Player
01-20-2007, 05:02 PM#3
masda70
Use GetLocalPlayer in combination with the following natives:

SetTextTagText
SetTextTagPos
SetTextTagVisibility
SetTextTagColor

Both of these are guaranteed to desync the game if ran for a single player:
CreateTextTag
DestroyTextTag
01-20-2007, 05:10 PM#4
shadow1500
Collapse JASS:
call SetTextTagVisibility(tag,GetLocalPlayer()==p)
The way I do it. Very compact.
01-20-2007, 07:35 PM#5
Joker
Quote:
Originally Posted by masda70
Use GetLocalPlayer in combination with the following natives:

SetTextTagText

SetTextTagPos
SetTextTagVisibility
SetTextTagColor

Both of these are guaranteed to desync the game if ran for a single player:
CreateTextTag
DestroyTextTag
I was using that, but it desync a person every 2 minutes or so