Tile - YContainer - Get Container Items – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Image:Editor-VS_tile-entity_get_container_items.png]]
[[Image:Editor-VS_tile-entity_get_container_items.png]]
*Returns an '''array''' of '''items''' that are in the container '''inventory'''
*Returns an '''array''' of '''items''' that are in the '''inventory''' of a container.
*Works only with '''containers''' - chests, barrels etc.
*Works only with '''containers''' - chests, barrels etc.


=Notes=
=Notes=
*For players / NPCs use [[Ylands Tile - Character inventory|'''Get Character Inventory''']]  
*For players / NPCs use [[Ylands Tile - Character inventory|'''Get Character Inventory''']].




----
----
{{Ylands scripting navbox}}
{{Ylands scripting navbox}}

Revision as of 13:36, 5 December 2018

Editor-VS tile-entity get container items.png

  • Returns an array of items that are in the inventory of a container.
  • Works only with containers - chests, barrels etc.

Notes



Template:Ylands scripting navbox