show_debug_message(string);
Argument | Description |
---|---|
string | The custom debug message to show. |
Returns: N/A
This function will create a custom debug message that is shown
in the compiler window at runtime.
if !instance_exists(obj_Exit)
{
show_debug_message("Exit not created!");
game_end();
}
The above code checks to see if an instance exists and if it does not, a debug message is shown in the compile window and the game is ended.