跳到主要内容

Delete Profile Action

Deletes a specific profile

Action to delete a profile by ID.

字段

字段类型默认值描述
profileIdString—The profile ID to delete. Supports placeholders.占位符
successMessageString<red>Profil supprimé.Message to send on success.占位符
failureMessageString<red>Impossible de supprimer ce profil.Message to send on failure (e.g., profile is active or not found).占位符
TypeWriter 通用字段(triggers, criteria, modifiers)
字段类型默认值描述
triggersList<Ref<TriggerableEntry>>empty—
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—

How to use it​

profileId is the id of a profile of the triggering player. The active profile cannot be deleted: switch to another one first. The deletion is asynchronous, and successMessage and the Profile Deleted Event fire when it has completed.