TPStashEvent.PlayQuest
TPStashEvent.PlayQuest(
userId,
character_uuid,
quest_slug,
quest_status,
quest_category_slug --[[Optional--]]
)
Description
PlayQuest collects the data of the character’s progress in a quest. It needs to be called when the character accepts a given quest and ends or completes the quest.
The quest system can be defined as a system where a character accomplishes certain conditions given, such as missions, duties, or quests, and receives predetermined rewards (for example, daily quest, scenario completion quest, event dungeon). |
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 |
||
quest_slug |
Unique identifier of the quest |
Required |
||
quest_status |
Quest progress
|
Required |
||
quest_category_slug |
Category of the quest |
Optional |