The debugmessage command sends a message to the debugger when testing. It should only be used for debugging or testing.
"then(debugmessage, message)"
Argument |
Function |
message |
The message being sent back to the debugger. |
And example of the debugmessage command used in a script is as follows...
The following script tells the debugger when the block is destroyed.
if(destroyed)
{
then(debugmessage,"The block has been destroyed!")
}
|
|