BTSetAgentProperty
Inherits: BTAction < BTTask < BT
BT action that assigns a value to the specified agent’s property.
Description
BTSetAgentProperty assigns the specified value to the agent’s property identified by the property and returns SUCCESS. Optionally, it can perform a specific operation before assignment.
Returns FAILURE if it fails to set the property.
Properties
|
||
|
|
|
Property Descriptions
Specifies the operation to be performed before assignment. Operation is executed as follows:
property = property OPERATION value
StringName property = &"" 🔗
void set_property(value:
StringName)StringNameget_property()
Parameter that specifies the agent’s property name.
Parameter that specifies the value that will be assigned to agent’s property.