Tile - YCharacter - Equip – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

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.