Tile - YLogic - Spawn Game Logic – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Spawn Game Logic(Template, Position, Rotation)

YlandsTile-561.png

YlandsTile-561-rv.png

static spawn(template: YLogicTemplate, position: YVector3, orientation: YVector3): YLogic;

Parameters

template

Game logic template

position

Target position

orientation

Target rotation

Returns

YLogic

Availability

Server

Description

Allows to spawns new game logic into the world from selected template.