Tile - YItem - Move To Inventory – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Editor-VS_tile-entity_put_to_container.png]]
<!---
*Selected '''item''' will be '''moved''' to target '''container'''
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Move To Inventory(Item, Target) ==


=Notes=
[[File:YlandsTile-78.png]]
*Works also for players/NPCs
 
<pre>static moveToInventory(item: YEntity, target: YEntity): void;</pre>
=== Parameters ===
 
==== item ====
 
Target item
 
==== target ====
 
Target container / inventory
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Move selected '''item''' to target '''container''' / '''inventory'''.
 
=== Notes ===
 
* Works also for players and NPCs.




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

Revision as of 12:16, 12 November 2021