Tile - YLock - Set Lock Cylinder Id – Ylands

From Bohemia Interactive Community
Revision as of 14:26, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.