Poll

Which do you like?

Both
Only Text
Only Draw
Neither

Author Topic: TextByPlayer - DrawByPlayer  (Read 885 times)

0 Members and 1 Guest are viewing this topic.

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
TextByPlayer - DrawByPlayer
« on: July 17, 2010, 07:55:25 pm »
function TextByPlayer(ID,ItemID:byte; X,Y:Single; Text:String)
ID:  PlayerID
ItemID:  ID for TextByPlayer
X,Y:  Relative coordinates. (0,0) would be exactly on the player
Text:  Text to be displayed

basically similar to WorldText and InterfaceText, but the text is displayed relative to a player.
This would be so useful to have in scripting, like tagging a player as "it" for some tag-game.

Also:
DrawByPlayer(ID,ItemID:byte; X,Y:Single; ImageFile:String)
same as text, but draws an image relative to the player.
Can't think of anything original to put here...