Tile - YCharacter - Lock Equipment Slot – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== slot ====
==== slot ====
Target slot


==== lock ====
==== lock ====
Slot lock state (boolean)
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===

Revision as of 12:16, 12 November 2021

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.