Difference between revisions of "TActivePlayer.BigText"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''procedure BigText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer)''''' Layer: in which layer the text will be shown Text: me...")
 
m (Changed time units from milliseconds to ticks)
 
Line 2: Line 2:
 
   Layer: in which layer the text will be shown
 
   Layer: in which layer the text will be shown
 
   Text: message to be shown
 
   Text: message to be shown
   Delay: time in milliseconds for the message to remain on screen
+
   Delay: time in ticks for the message to remain on screen
 
   Color: text's color
 
   Color: text's color
 
   Scale: size of the text
 
   Scale: size of the text

Latest revision as of 14:24, 2 September 2013

procedure BigText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer)
 Layer: in which layer the text will be shown
 Text: message to be shown
 Delay: time in ticks for the message to remain on screen
 Color: text's color
 Scale: size of the text
 X: X position on the screen to display text (1-640)
 Y: Y position on the screen to display text (1-480)

Description

Displays a big text in a player's screen, like the "You Killed <Player>" text or so on.
Note that the Y axis grows downwards.

Example

Players[1].BigText(2,'Booyeah!',200,$FFFF00,0.20,20,300); //displays "Booyeah!" to player 1