limboai/doc_classes/BTConsolePrint.xml

20 lines
1.2 KiB
XML
Raw Permalink Normal View History

2022-11-01 20:31:22 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="BTConsolePrint" inherits="BTAction" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
2022-11-01 20:31:22 +00:00
<brief_description>
BT action task that outputs text to the console.
2022-11-01 20:31:22 +00:00
</brief_description>
<description>
BTConsolePrint action outputs text to the console and returns [code]SUCCESS[/code]. It can include placeholders for format arguments similar to GDScript's % operator.
2022-11-01 20:31:22 +00:00
</description>
<tutorials>
</tutorials>
<members>
2023-04-10 14:57:36 +00:00
<member name="bb_format_parameters" type="PackedStringArray" setter="set_bb_format_parameters" getter="get_bb_format_parameters" default="PackedStringArray()">
The values of format parameters are used as format arguments for the text that will be printed.
2022-11-01 20:31:22 +00:00
</member>
<member name="text" type="String" setter="set_text" getter="get_text" default="&quot;&quot;">
The text to be printed, which can include multiple placeholders to be substituted with format arguments. These placeholders follow the same format as GDScript's % operator and typically start with '%' followed by a format specifier. For instance: %s for string, %d for integer, %f for real.
2022-11-01 20:31:22 +00:00
</member>
</members>
</class>