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

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.