User Tools

Site Tools


equip_item

This is an old revision of the document!


Equip Item


(WIP)

Equips an item to the specified slot of a character's equipment. If the item is stackable, the optional “count” parameter can be provided to equip more than one into the slot. The character must first have the item in their inventory in order for this function to work.

Signature:

equip_item(character, slot_id, item_id, count)
ArgumentDescriptionTypeRequired
character EntityYes
slot_id StringYes
item_id StringYes
count NumberNo

Example:

equip_item();

Results:

Use the Equip Item function to…


Editor Node:

equip_item.1707179697.txt.gz · Last modified: 2024/02/05 16:34 by justin