Tile - YLogic - Spawn Game Logic – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


==== template ====
==== template ====
Game logic template


==== position ====
==== position ====
Target position


==== orientation ====
==== orientation ====
Target rotation


=== Returns ===
=== Returns ===


'''YLogic'''
'''YLogic'''
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===


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





Revision as of 12:16, 12 November 2021

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.