Print functions
Functions for printing text to the screen, zSpy, or dialog boxes.
Functions
Print
Print
Prints text at the top of the screen
Parameters
- var string text- text to print
PrintDebug
PrintDebug
Prints debug text to zSpy if "toogle debug" is enabled
Parameters
- var string text- debug text
PrintDebugCh
PrintDebugCh
Prints text to zSpy on a specific debug channel (if channel is enabled)
Parameters
- var int channel- channel number
- var string text- debug text
PrintDebugInst
PrintDebugInst
Prints text to zSpy if global self is on debug instances list  
debug focus command can add instance to the list 
debugAllInstances in the Gothic.ini can enable all instances
Parameters
- var string text- string text to print
PrintDebugInstCh
PrintDebugInst
Prints text to zSpy if global self is on debug instances list on a specific debug channel (if channel is enabled) 
debug focus command can add instance to the list 
debugAllInstances in the Gothic.ini can enable all instances
Parameters
- var string text- string text to print
- var int channel- channel number
PrintDialog
PrintDialog
Displays a text in a dialog box
Parameters
- var int window- id of a dialog window
- var string text- displayed text
- var int posx- x position as percent (-1 to center)
- var int posy- y position as percent (-1 to center)
- var string font- font to use
- var int timesec- display duration in seconds
Return value
The function returns TRUE if the dialog was displayed successfully, FALSE otherwise
PrintMulti
PrintMulti
Randomly selects one of the texts and prints it
Parameters
- var string text1- first text
- var string text2- second text
- var string text3- third text
- var string text4- fourth text
- var string text5- fifth text
PrintScreen
PrintScreen
Prints a message to the screen with specified font and position
Parameters
- var string text- message to print
- var int posx- x position as percent (-1 to center)
- var int posy- y position as percent (-1 to center)
- var string font- font to use
- var int timesec- display duration in seconds