ApiData().SetBehaviorName

Sets the name for the Behavior at the given ID.

Description

This function adds knowledge to the current SILVIA Brain by setting the name of the Behavior at the given ID.

Example Usage (C#)


bool success = _core.ApiData().SetBehaviorName(144, “behavior_name”);

Parameters

int

id

The integer numeric value or variable representing the unique ID of the behavior.

string

name

The string representing the new name for the Behavior. A null will clear the name value.

Returns

The boolean success or failure of the operation.

See Also

  • ApiData().SetBehaviorGroup
  • ApiData().SetBehaviorSubGroup

ApiData()