Tile - YItem - Set Pickable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Pickable(Entity, Value)

 

static setPickable(target: YEntity, value: boolean): void;

Parameters

target

Target entity

value

Is pickable (bool)

Availability

Server

Description

Allows to set whenever selected item can be picked up.

Notes

  • Does not work on small foliage. Use Disable Interactions instead.