From dfa5cbfdc3b772ab9d5fceb67142ef73a88bd692 Mon Sep 17 00:00:00 2001 From: Technocracy Date: Thu, 6 Dec 2018 22:11:07 -0500 Subject: Docs for push_error and push_warning functions Added short documentation for push_error() and push_warning() godot script functions --- doc/classes/@GDScript.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 20ec9141c6..349daae6d9 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -751,6 +751,10 @@ + Pushes an error message to Godot's built-in debugger and to the OS terminal. + [codeblock] + push_error("test error") # prints "test error" to debugger and terminal as error call + [/codeblock] @@ -759,6 +763,10 @@ + Pushes a warning message to Godot's built-in debugger and to the OS terminal. + [codeblock] + push_warning("test warning") # prints "test warning" to debugger and terminal as warning call + [/codeblock] -- cgit v1.2.3