Tile - YLock - Get Lock Cylinder Id – Ylands

From Bohemia Interactive Community
Revision as of 14:27, 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

Get Lock Cylinder Id(Entity)

YlandsTile-1072.png

static getCylinderId(target: YEntity): number;

Parameters

target

Target entity (lock or key)

Returns

number

Availability

Client, Server

Description

Returns current Cylinder ID of the target entity.

Notes

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