Tile - YCharacter - Equip – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}}")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Equip(Character, Item) ==
[[File:YlandsTile-250.png]]
<pre>equip(item: YEntity): void;</pre>
=== Parameters ===
==== item ====
Item to equip
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]
=== Description ===
Automatically '''equips''' selected item in '''to''' target '''slot''' of a character, e.g helmet will be placed to head slot.
=== Notes ===
* Item to equip does not have to be in character inventory and will be moved there from word (or container).
* Works on locked slots as well.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 15:24, 24 November 2023

Equip(Character, Item)

YlandsTile-250.png

equip(item: YEntity): void;

Parameters

item

Item to equip

Availability

Server

Description

Automatically equips selected item in to target slot of a character, e.g helmet will be placed to head slot.

Notes

  • Item to equip does not have to be in character inventory and will be moved there from word (or container).
  • Works on locked slots as well.