Tile - YCharacter - Equip – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== item ====
==== item ====
Item to equip
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== 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).
Automatically '''equips''' selected item in '''to''' target '''slot''' of a character, e.g helmet will be placed to head slot.


=== Notes ===
=== 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.
* Works on locked slots as well.



Revision as of 12:16, 12 November 2021

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.