Tile - YCharacter - Inventory – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Character inventory to Ylands:Tile - YCharacter - Inventory: New Structure) |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Inventory == | |||
=Notes= | [[File:YlandsTile-172-get.png]] | ||
*For containers (chest, barrels etc.) use | |||
<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'''. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:27, 24 November 2023
Inventory
get inventory(): YEntity[];
Availability
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.