TPStashEvent.UseMaterial
TPStashEvent.UseMaterial(
userId,
character_uuid,
item_slug,
item_quantity,
where_to_entity,
where_to_category_slug,
where_to_slug
)
Description
UseMaterial collects the data of the character’s using of a material item.
|
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 |
||
item_slug |
Unique identifier of the item (for example, "weapon_sword_dagger" and "shield_kite_rare") |
Required |
||
item_quantity |
The number or amount of material item used |
Required |
||
where_to_entity |
The entity type where the character gets to by using the material item Entities
|
Optional |
||
where_to_category_slug |
The category of place, situation, or outcome to which the player gets by using the material item |
Optional |
||
where_to_slug |
The name of place, situation, or outcome to which the player gets by using the material item |
Optional |