Tile - YCharacter - Inventory – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Character inventory to Ylands:Tile - YCharacter - Inventory: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Inventory == | |||
=Notes= | [[File:YlandsTile-172-get.png]] | ||
*For containers (chest, barrels etc.) use | |||
<pre>get inventory(): YEntity[];</pre> | |||
=== Description === | |||
Returns an '''array''' of all '''items''' that are in the '''inventory''' of a character. Works only with players and NPCs | |||
=== Notes === | |||
* For containers (chest, barrels etc.) use '''Get Container Items'''. | |||
Line 12: | Line 21: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:52, 8 July 2021
Inventory
get inventory(): YEntity[];
Description
Returns an array of all items that are in the inventory of a character. Works only with players and NPCs
Notes
- For containers (chest, barrels etc.) use Get Container Items.