Tile - YCharacter - Inventory – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(7 intermediate revisions by 3 users not shown)
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>
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]
 
=== 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'''.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 14:27, 24 November 2023