— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
(WIP)
Uses/consumes the specified item. If the character isn't specified, the item will be used by the main player character. Note that the item must be configured as “Usable/Consumable” in the Item Editor and the character must first have the item in their inventory in order for this function to work.
use_item(item_id, character)
Argument | Description | Type | Required |
---|---|---|---|
item_id | String | Yes | |
character | Defaults to the main player character. | Entity | No |
Results:
Use the Use Item function to…