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 numbervar 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 printvar int channel
- channel number
PrintDialog
PrintDialog
Displays a text in a dialog box
Parameters
var int window
- id of a dialog windowvar string text
- displayed textvar int posx
- x position as percent (-1 to center)var int posy
- y position as percent (-1 to center)var string font
- font to usevar 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 textvar string text2
- second textvar string text3
- third textvar string text4
- fourth textvar string text5
- fifth text
PrintScreen
PrintScreen
Prints a message to the screen with specified font and position
Parameters
var string text
- message to printvar int posx
- x position as percent (-1 to center)var int posy
- y position as percent (-1 to center)var string font
- font to usevar int timesec
- display duration in seconds