Useful Methods

Updated a day ago

WearableObject

WearItem

Wears the item on the local player or player provided.

UnWearItem

UnWears the item if it is worn on a player.

CanWear

Returns if the provided player can wear the item depending on its restrictions.

OnWear (virtual)

Virtual method that's called when the item is worn on a player.

OnUnWear (virtual)

Virtual method that's called when the item is unworn (taken off) by a player.

PlayerWearables

GetWearables

Returns a list of items currently being worn by the provided player.