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:Ylands_Tile_-_Can_character_respawn.png]]
[[Image:Editor-VS_tile-entity_get_container_items.png]]
*Allows to '''get''' / '''set''' whenever player can '''respawn''' after death
*Returns an '''array''' of items that are in the container inventory
*Works only with '''containers''' - chests, barrels etc.


=Notes=
=Notes=
*Players do not loose any equipment and inventory items when they respawn.
*For players / NPCs use [[Ylands Tile - Character inventory|'''Get Character Inventory''']]




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

Revision as of 15:10, 5 December 2018

Editor-VS tile-entity get container items.png

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

Notes



Template:Ylands scripting navbox