— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
(WIP)
Uses/consumes the specified item. 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 |
use_item();
Results:
Use the Use Item function to…