Tile - YLock - Get Lock Cylinder Id – Ylands

From Bohemia Interactive Community
Revision as of 12:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
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.