ApiBrain().SetBypassResponse
On the next input, the “GetResponse” function will ignore the input and jump to the given behavior.
Description
This method forces the invocation of a particular Behavior. However, this invocation does not occur immediately, but on the next input given by the user.
Example Usage (Java)
boolean success = _core.ApiBrain().SetBypassResponse(“game”, “assume_yes_answer”);
Example Usage (C#)
bool success = _core.ApiBrain().SetBypassResponse(“game”, “assume_yes_answer”);
Parameters
string |
behaviorGroup |
The string representing the Group identifier of the Behavior. |
string |
behaviorName |
The string representing the name identifier of the Behavior. |
Returns
The boolean success or failure of the operation.