Tile - YCharacter - Equip – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Equip character item to Ylands:Tile - YCharacter - Equip: New Structure)
No edit summary
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 and will be moved there from word (or container).
-->
== Equip(Character, Item) ==


=Notes=
[[File:YlandsTile-250.png]]
*Works also on locked slots, see: [[Ylands Tile - Lock equipment slot|'''Lock Equipment Slot''']].
 
<pre>equip(item: YEntity): void;</pre>
=== Parameters ===
 
==== item ====
 
=== Description ===
 
This instruction will automatically '''equip''' target item in '''to''' respected '''slot''' of a character, e.g helmet will be placed to head slot. Item to equip does not have to be in character inventory and will be moved there from word (or container).
 
=== Notes ===
 
* Works on locked slots as well.




Line 12: Line 25:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 08:52, 8 July 2021

Equip(Character, Item)

YlandsTile-250.png

equip(item: YEntity): void;

Parameters

item

Description

This instruction will automatically equip target item in to respected slot of a character, e.g helmet will be placed to head slot. Item to equip does not have to be in character inventory and will be moved there from word (or container).

Notes

  • Works on locked slots as well.