- Joined
- Oct 24, 2012
- Messages
- 6,545
hello i am wondering if there is a way to show floating text to only one player ? thanks to anyone tht can help and +rep for anyone tht does
You can do like this :
Or like this :
Example
Events
Conditions
Actions
-------- -------------------------------------------------------- --------
-------- Create your floating text here --------
-------- -------------------------------------------------------- --------
-------- Hide it for all players --------
Set TempForce = (All players)
Floating Text - Hide (Last created floating text) for TempForce
-------- Show it to a player --------
Set TempForce2 = (Player group(Player 1 (Red)))
Floating Text - Show (Last created floating text) for TempForce2
Custom script: call DestroyForce(udg_TempForce)
Custom script: call DestroyForce(udg_TempForce2)
Example
Events
Conditions
Actions
-------- -------------------------------------------------------- --------
-------- Create your floating text here --------
-------- -------------------------------------------------------- --------
-------- Hide it for all players --------
Set TempForce = (All players)
Floating Text - Hide (Last created floating text) for TempForce
Custom script: call DestroyForce(udg_TempForce)
-------- Show it to a player --------
Set TempForce = (Player group(Player 1 (Red)))
Floating Text - Show (Last created floating text) for TempForce
Custom script: call DestroyForce(udg_TempForce)
''All Players'' does not leaks AFAIK, so it's not nessesary to destroy it