This page still under construction
Usage
returns null
parameters a string or concatenation of strings and variables.
sys.println("You'll never take us alive squib!"); sys.println("The enemy has " + enemyHealth + " left.");
Notes
- sys.println is the debug.print of the Quake 4 scripting system. Use it to fill the console with debug messages and work through your scripts.
- The parameter for println can be a series of concatenated strings and floats since the scripting system is loosely typed.
Caution
- Don't use sys.println to send information to the player, the text only appears on the console. Use the in game hud instead.
- You cannot print whole vectors with concatenation. You'll have to use the vectors a member at a time.
If you are not running in DeveloperMode, or if you have com_showPrint set to 0, you will need to drop the console to see the text.