User Tools

Site Tools


attach_points

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
attach_points [2020/09/27 15:12] justinattach_points [2020/09/27 15:22] justin
Line 56: Line 56:
 equip_item(player, "right_hand", "ITEM_0001") equip_item(player, "right_hand", "ITEM_0001")
 </code> </code>
 +
 +With this setup, calling the [[Unequip Item]] scripting function will automatically detach the [[object]] model associated with the [[item]] that is unequipped.
 +
 +<code bauxite>
 +unequip_item(player, "right_hand")
 +</code>
 +
 ~~NOTOC~~ ~~NOTOC~~
attach_points.txt · Last modified: 2022/05/09 15:06 by justin