Debug Functions

From Danmakufu Wiki
Jump to: navigation, search

Return to Functions


WriteLog

Arguments:
 1) value (free)

Outputs the given value to the log window.

RaiseError

Arguments:
 1) string (char)

Creates an error box with the specified string. Execution of the script is stopped, closing the script.

assert

Arguments:
 1) condition (boolean)
 2) value (free)

Raises an error with the specified value and terminates the script if the condition is false.