Tile - YLock - Set Lock Cylinder Id – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Set Lock Cylinder Id(Entity, Value)

YlandsTile-1073.png

static setCylinderId(target: YEntity, value: number): void;

Parameters

target

Target entity (lock or key)

value

New Cyllinder ID (string)

Availability

Server

Description

Allows to set Cylinder ID of the target entity.

Notes

  • Supported entities: doors, chests, padlocks, keys.
  • Cyllinder ID pairs locks and keys.