Tile - YItem - Set Stack Count – Ylands
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: | ||
[[ | <!--- | ||
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]] | ||
Revision as of 09:52, 8 July 2021
Set Stack Count(Entity, Value)
static setStackCount(target: YEntity, value: number): void;
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.