textout

Script Reference Text

textout (name ; text ; x ; y ; font ; red ; green ; blue) //Advanced

Used for : Textlines.

Parameters :

- name - Name of a textline. You can add up to 1000 different textlines.
- text - Visible text.
- x,y - Pixelposition.
- font - 1-99
- red,green,blue - RGB colorvalue 0-255.

Description :

Creates or modifies a single textline which will be visible until you disable it using texthide . You can use string variables in your text. The actual text output will be automaticly modified when a string changes.
By default textout lines will be displayed in front of everything else. You can bind a textline to a room by using bindtext.

If no color is provided the game will use the infotextcolor.

Textlines can be enabled and disabled. To modify a single parameter of a textline you do not need to re-enter every parameter by using "-1" :

textout (name) textout (name ; -1 ; -1 ; -1 ; 3) only changes the font textout (name ; -1 ; -1 ; -1 ; -1 ; 250 ; 220 ; 220) only changes the color