limboai/doc_classes/BTCallMethod.xml

24 lines
1.0 KiB
XML
Raw Normal View History

2023-08-15 11:29:12 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="BTCallMethod" inherits="BTAction" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
<brief_description>
2023-09-05 08:55:17 +00:00
BT action that calls a method on a specified [Node] or [Object].
2023-08-15 11:29:12 +00:00
</brief_description>
<description>
2023-09-05 08:55:17 +00:00
BTCallMethod calls a method on a specified [Node] or [Object] and returns [code]SUCCESS[/code].
Returns [code]FAILURE[/code] if the action fails executing the method.
2023-08-15 11:29:12 +00:00
</description>
<tutorials>
</tutorials>
<members>
<member name="args" type="Array" setter="set_args" getter="get_args" default="[]">
Arguments to pass to the method call.
</member>
<member name="method" type="StringName" setter="set_method" getter="get_method" default="&amp;&quot;&quot;">
2023-09-05 08:55:17 +00:00
Method that will be called.
2023-08-15 11:29:12 +00:00
</member>
<member name="node" type="BBNode" setter="set_node_param" getter="get_node_param">
2023-09-05 08:55:17 +00:00
Parameter that will be used to get the node/object instance.
2023-08-15 11:29:12 +00:00
</member>
</members>
</class>