Tile - YItem - Set Stack Count – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

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.