Tile - YItem - Set Stack Count – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.