Tile - YLock - Get Lock Cylinder Id – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Get Lock Cylinder Id(Entity) == File:YlandsT...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 16: Line 16:


'''number'''
'''number'''
=== Availability ===
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===
Line 29: Line 33:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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.