ItemActioned
Introduction
Backend Name:
item_actionedDescription: The player used an item.
Event Type:
GamePriority:
P3
Parameters
| Name | Type | Select | Backend name | Description |
|---|---|---|---|---|
| action | string | Required | action | Name of the action taken by player. |
| additionalData | Dictionary |
Optional | additional_data | Any additional information |
| itemID | string | Required | item_id | Internal ID of an item within the game |
| itemName | string | Required | item_name | Name of the item |
| itemType | string | Required | item_type | The type of item that is being interacted with, could be a spell, weapon, etc. |
Code example
LionAnalytics.ItemActioned("Creating_Walls", "SP_Main_01", "Bricks", "Building_Blocks", additionalData);