Reference
Function Trigger

Function Trigger

An event that can cause a function to be invoked. Functions will be invoked only if the event affects the character that owns the function. For instance, a function with trigger type ON_CONVERSATION_START will be invoked when a conversation containing the function's parent character is started.

Options

ON_CHARACTER_CALL

The function gets executed at the discretion of an AI character.


ON_CONVERSATION_START

The function gets executed when a new conversation starts.


ON_CONVERSATION_STATE_CHANGED

The function gets executed when the state of a conversation is changed.


ON_CONVERSATION_STATE_SET

The function gets executed when the state of a conversation is touched, even if that does not lead to a changed state.


ON_MESSAGE_RECEIVED

The function gets executed when a message sent by a user is received by an AI character.


ON_MESSAGE_SENT

The function gets executed when a message sent by an AI character.


© 2024 ProteusAI. All rights reserved