memory.add
Overview
- Adds a memory (social context) about target_entity_id to the owner character.
Metadata
| Field | Value |
|---|---|
| Display | Add Memory |
| Category | memory |
| Access | ScriptCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | no | — | Owner entity ID (default: possessed) |
| memory_dt_id | name | yes | — | Memory data table ID to add |
| target_entity_id | entityId | yes | — | Entity the memory is about |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('memory.add', {
entity_id: 0, // optional
memory_dt_id: '',
target_entity_id: 0,
});