Tile - YCharacter - Inventory – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<pre>get inventory(): YEntity[];</pre> | <pre>get inventory(): YEntity[];</pre> | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Revision as of 11:16, 12 November 2021
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.