Tile - YCharacter - Equip – 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}}}}")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Equip_character_item.png]]
<!---
*This instruction will automatically '''equip''' target item in '''to''' respected '''slot''' of a character, e.g helmet will be placed to head slot.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Item to equip does not have to be in character inventory
-->
== 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.