Tile - YItem - Set Stack Count – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 32: Line 32:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023

Set Stack Count(Entity, Value)

YlandsTile-1079.png

static setStackCount(target: YEntity, value: number): void;

Parameters

target

Target entity

value

New stack size

Availability

Server

Description

Allows to set stack size (item count) of target entity.

Notes

  • Set count will be automatically clamped to maximum stack size of entity.