BTConsolePrint

Inherits: BTAction < BTTask < BT

BT action task that outputs text to the console.

Description

BTConsolePrint action outputs text to the console and returns SUCCESS. It can include placeholders for format arguments similar to GDScript’s % operator.

Properties

PackedStringArray

bb_format_parameters

PackedStringArray()

String

text

""


Property Descriptions

PackedStringArray bb_format_parameters = PackedStringArray()

  • void set_bb_format_parameters ( PackedStringArray value )

  • PackedStringArray get_bb_format_parameters ( )

The values of format parameters are used as format arguments for the text that will be printed.


String text = ""

  • void set_text ( String value )

  • String get_text ( )

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.