User Tools

Site Tools


use_item

This is an old revision of the document!


Use Item


(WIP)

Uses/consumes the specified item. Note that the character must first have the item in their inventory in order for this function to work.

Signature:

use_item(item_id, character)
ArgumentDescriptionTypeRequired
item_id StringYes
characterDefaults to the main player character.EntityNo

Example:

use_item();

Results:

Use the Use Item function to…


Editor Node:

use_item.1707179818.txt.gz · Last modified: 2024/02/05 16:36 by justin