Tile - YItem - Set Stack Count – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Item stack count to Ylands:Tile - YItem - Set Stack Count: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Item_stack_count.png]]
<!---
*Allows to '''get''' / '''set''' stack size of target entity.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Set count will be automatically clamped to maximum stack size of entity.
-->
== Set Stack Count(Entity, Value) ==
 
[[File:YlandsTile-1079.png]]
 
<pre>static setStackCount(target: YEntity, value: number): void;</pre>
=== Parameters ===
 
==== target ====
 
Target entity
 
==== value ====
 
New stack size
 
=== Description ===
 
Allows to set '''stack size''' (item count) of target '''entity'''.
 
=== Notes ===
 
* Set count will be automatically clamped to maximum stack size of entity.




Line 9: Line 31:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:52, 8 July 2021