TPStashEvent.GetCharacter
TPStashEvent.GetCharacter(
userId,
character_uuid,
characterarchetype_slug,
from_entity--[[Optional--]],
from_category_slug--[[Optional--]],
from_slug--[[Optional--]]
)
Description
GetCharacter collects the data of the player’s acquisition or creation of a character. It needs to be called when an event of a character acquisition occurs during or at the start of game. It can be used for the analysis of personas about character acquisition and destruction.
A character acquisition denotes the possession of a character whereas a character destruction refers to a state of not having the character any more because the player has sold it away or consumed it as an ingredient to make something. Character destruction may not exist in certain games.
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
|
Required |
||
characterarchetype_slug |
Unique identifier of the character’s archetype |
Required |
||
from_entity |
The action that causes the player to gain the character Entities
|
Optional |
||
from_category_slug |
The category of place, source, or situation from which the player gets the character |
Optional |
||
from_slug |
The name of place, source, or situation from which the player gets the character |
Optional |