Tile - YLogic - Spawn Game Logic – Ylands
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 === | ||
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)
static spawn(template: YLogicTemplate, position: YVector3, orientation: YVector3): YLogic;
Parameters
template
Game logic template
position
Target position
orientation
Target rotation
Returns
YLogic
Availability
Description
Allows to spawns new game logic into the world from selected template.