跳到主要内容

Pets State

Change the state of a pet

字段

字段类型默认值描述
petRef<PetDefinitionEntry>—Target pet definition to affect.
actionPetActionACTIVATEWhat action should be performed on the pet.可选值:ACTIVATEDEACTIVATEHIDESHOWREMOVE
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.