Pets State
Change the state of a pet
Champs
| Champ | Type | Par défaut | Description |
|---|---|---|---|
pet | Ref<PetDefinitionEntry> | — | Target pet definition to affect. |
action | PetAction | ACTIVATE | What action should be performed on the pet.Valeurs :ACTIVATEDEACTIVATEHIDESHOWREMOVE |
Champs TypeWriter communs (criteria, modifiers, triggers)
| Champ | Type | Par défaut | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Pick the pet with pet and the operation with action: ACTIVATE (makes it the active pet and deactivates the others), DEACTIVATE, HIDE, SHOW, or REMOVE (deletes the pet from the player's menu without returning an item). The player must already own the pet, otherwise nothing happens.