Ylands:Tile - YCharacter - Lock Equipment Slot

From Bohemia Interactive Community
Jump to navigation Jump to search

Lock Equipment Slot(Character, Slot, Lock)

YlandsTile-333.png

lockEquipmentSlot(slot: YEquipmentSlot, lock: boolean): void;

Parameters

slot

Target slot

lock

Slot lock state (boolean)

Availability

Server

Description

Allows to lock / unlock equipment slot of a character.

Notes

  • Locked slots do not allow players to equip or remove items.