Skip to main content

interaction.execute

Overview

  • Queues a specific interaction on a character by InteractionBagId. The character will walk to the target and perform the interaction.

Metadata

FieldValue
DisplayExecute Interaction
Categoryinteraction
AccessUserCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Character entity ID that performs the interaction (default: possessed)
interaction_bag_idnameyes—InteractionBag row name from data table (e.g. Sit, Talk, Cook)
target_entity_identityIdno—Target entity ID for the interaction (character or object)
smartzoiboolnofalseMark the interaction as SmartZoi-sourced
insert_frontboolnofalseInsert at front of interaction queue instead of back

Usage

await inzoi.cli.execute('interaction.execute', {
entity_id: 0, // optional
interaction_bag_id: '',
target_entity_id: 0, // optional
smartzoi: false, // optional
insert_front: false, // optional
});