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_identityIdnoCharacter entity ID that performs the interaction (default: possessed)
interaction_bag_idnameyesInteractionBag row name from data table (e.g. Sit, Talk, Cook)
target_entity_identityIdnoTarget entity ID for the interaction (character or object)
insert_frontboolnofalseInsert at front of interaction queue instead of back

Returns

  • Return shape is not declared for this command.

Usage

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