TPStashEvent.LevelUpCharacter

TPStashEvent.LevelUpCharacter(
    userId,
    character_uuid,
    level_to,
    level_from
)

Description

LevelUpCharacter collects the data of the character’s level up. It needs to be called when an event of the character’s level up occurs during the game. It can be used for the analysis of personas about character growth.

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

level_to

Character’s level after the level up

Required

level_from

Character’s level before the level up

Optional