Tile - YWorld - Get All Game Logic Objects – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Get All Game Logic Objects()

YlandsTile-1395.png

static getAllGameLogicObjects(): YLogic[];

Returns

YLogic[] Returns an array of all game logic objects placed in the game.

Availability

Description

Returns an array of all game logic objects placed in the game.

Get All Game Logic Objects(Type)

YlandsTile-1396.png

static getAllGameLogicObjectsOfType(type: YGameLogicType): YLogic[];

Parameters

type

Returns

YLogic[] Returns an array of all game logic objects placed in the game, of the selected type.

Availability

Description

Returns an array of all game logic objects placed in the game, of the selected type.