-
Notifications
You must be signed in to change notification settings - Fork 94
warning_info_debug
Ryzom Core Wiki edited this page Jul 8, 2024
·
4 revisions
title: Warning, Info, and Debug description: published: true date: 2023-03-16T23:13:13.750Z tags: editor: markdown dateCreated: 2023-03-16T22:31:31.695Z
The warning, info, and debug native AI script functions are used to output messages to the console during AI script execution.
()warning(string: s) // warning_s_
()info(string: s) // info_s_
()debug(string: s) // debug_s_
()warning(value: f) // warning_f_
()info(value: f) // info_f_
()debug(value: f) // debug_f_
- string (string): A string containing the message to be output.
- value (float): A float value to be output.
()warning("This is a warning message");
()info("This is an informative message");
()debug("This is a debug message");
()warning(3.14159);
()info(42.0);
()debug(2.71828);
This example code shows how to call the warning, info, and debug functions with either a string or float value.