Tile - YCharacter - Inventory – Ylands
Jump to navigation
Jump to search
(Created page with " ---- {{Ylands scripting navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(8 intermediate revisions by 3 users 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 == | |||
[[File:YlandsTile-172-get.png]] | |||
<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 | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | |||
[[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.