Tile - YContainer - Get Container Items – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Container items to Ylands:Tile - YContainer - Get Container Items: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Editor-VS_tile-entity_get_container_items.png]]
<!---
*Returns an '''array''' of items that are in the container inventory
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Works only with '''containers''' - chests, barrels etc.
-->
== Get Container Items(Entity) ==


=Notes=
[[File:YlandsTile-1045.png]]
*For players / NPCs use [[Ylands Tile - Character inventory|'''Get Character Inventory''']]
 
<pre>static getItems(target: YEntity): YEntity[];</pre>
=== Parameters ===
 
==== target ====
 
Target container
 
=== Returns ===
 
'''YEntity[]'''
 
=== Description ===
 
Returns an '''array''' of items that are in the container inventory.
 
=== Notes ===
 
* Works only with '''containers''' - chests, barrels etc.




Line 12: Line 31:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:52, 8 July 2021