Skip to main content

smartzoi.enqueue_composite_coop_result

Overview

  • Simulates an SLM result for a SmartZoi Coop action with selected target entity and Coop role assignments.

Metadata

FieldValue
DisplayEnqueue SmartZoi Composite Coop Result
Categorysmartzoi
AccessScriptCheat
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdno—Owner character entity ID (default: possessed)
interaction_bag_idnameyes—Coop interaction bag ID
target_entity_identityIdyes—Selected target entity ID
target_object_entity_identityIdno—Alias for target_entity_id when target is a GameObject
role_assignmentsstringyes—Selected Coop role assignments. Example: Main:123,Sub:456
target_entity_typestringnoGameObjectTarget entity type: GameObject or Character.
target_object_namestringno—Optional selected object name from the SLM result.
target_character_namestringno—Optional selected character name from the SLM result.
reasonstringno—Optional SmartZoi reason text.

Usage

await inzoi.cli.execute('smartzoi.enqueue_composite_coop_result', {
entity_id: 0, // optional
interaction_bag_id: '',
target_entity_id: 0,
target_object_entity_id: 0, // optional
role_assignments: '',
target_entity_type: 'GameObject', // optional
target_object_name: '', // optional
target_character_name: '', // optional
reason: '', // optional
});