TPStashEvent.ChangeCharacterArchetype

TPStashEvent.ChangeCharacterArchetype(
    userId,
    character_uuid,
    characterarchetype_to_slug,
    characterarchetype_from_slug --[[Optional--]]
)

Description

ChangeCharacterArchetype collects the events that occur when the character changes job and the character archetype is changed. Even though the archetype changes, the character unique identifier character_uuid remains the same.

Parameters

Name Description Required

UserId

Player’s unique user ID (not a character’s ID) that is given by Roblox: Player.UserId

Required

character_uuid

Player’s character’s unique lD

If there is no character in the game or If you want to use it for the player, not a character, set character_uuid to TentuPlayKeyword._DUMMY_CHARACTER_ID_.

Required

characterarchetype_to_slug

Character’s archetype after job change

Required

characterarchetype_from_slug

Character’s archetype before job change

Optional