Tile - YLock - Set Lock Cylinder Id – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:{{PAGENAME}}.png]]
<!---
*Allows to '''get''' / '''set''' cylinder '''ID''' of target entity which '''pairs''' locks and keys.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Set Lock Cylinder Id(Entity, Value) ==


=Notes=
[[File:YlandsTile-1073.png]]
*Supported entities: doors, chests, padlocks, keys.
 
<pre>static setCylinderId(target: YEntity, value: number): void;</pre>
=== Parameters ===
 
==== target ====
 
Target entity (lock or key)
 
==== value ====
 
New Cyllinder ID (string)
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to set '''Cylinder ID''' of the target entity.
 
=== Notes ===
 
* Supported entities: doors, chests, padlocks, keys.
* Cyllinder ID '''pairs''' locks and keys.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Latest revision as of 15:26, 24 November 2023

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.