Перейти к основному содержимому

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.