Tile - YCharacter - Inventory – Ylands

From Bohemia Interactive Community
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:
[[Image:Ylands_Tile_-_Character_inventory.png]]
<!---
*Returns an '''array''' of all '''items''' that are in the '''inventory''' of a character
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Works only with players and NPCs
-->
== Inventory ==


=Notes=
[[File:YlandsTile-172-get.png]]
*For containers (chest, barrels etc.) use [[Ylands Tile - Container items|'''Get Container Items''']]
 
<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]]
[[Category: Ylands 0.10]]

Revision as of 09:52, 8 July 2021