2023-08-07 13:30:04 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-11-15 14:40:07 +00:00
<class name= "BTSetVar" inherits= "BTAction" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2023-08-07 13:30:04 +00:00
<brief_description >
BT action that assigns [member value] to the [member variable] and then returns [code]SUCCESS[/code].
</brief_description>
<description >
2023-11-15 14:40:07 +00:00
BTSetVar assigns [member value] to the [member variable] and then returns [code]SUCCESS[/code]. Optionally, it can perform a specific [member operation] before assignment.
2023-10-17 10:22:46 +00:00
Returns [code]FAILURE[/code] if it fails to set the [member variable].
2023-08-07 13:30:04 +00:00
</description>
<tutorials >
</tutorials>
<members >
2023-11-15 14:40:07 +00:00
<member name= "operation" type= "int" setter= "set_operation" getter= "get_operation" enum= "LimboUtility.Operation" default= "0" >
Specifies the operation to be performed before assignment. Operation is executed as follows:
[code]variable = variable OPERATION value[/code]
</member>
2023-08-07 13:30:04 +00:00
<member name= "value" type= "BBVariant" setter= "set_value" getter= "get_value" >
Parameter that specifies the value to be assigned to the variable.
</member>
<member name= "variable" type= "String" setter= "set_variable" getter= "get_variable" default= """" >
2023-10-17 10:22:46 +00:00
Name of the variable to which the value will be assigned.
2023-08-07 13:30:04 +00:00
</member>
</members>
</class>