Tile - YLogic - Spawn Game Logic – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:Spawn game logic template.png]]
<!---
*Allows to '''spawn''' game logic from a [[Ylands Game logic - Game logic template|'''Template''']]at a specific position.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Spawn Game Logic(Template, Position, Rotation) ==


[[File:YlandsTile-561.png]]
[[File:YlandsTile-561-rv.png]]
<pre>static spawn(template: YLogicTemplate, position: YVector3, orientation: YVector3): YLogic;</pre>
=== Parameters ===
==== template ====
Game logic template
==== position ====
Target position
==== orientation ====
Target rotation
=== Returns ===
'''YLogic'''
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]
=== Description ===
Allows to spawns new '''game logic''' into the world from selected '''template'''.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Latest revision as of 15:27, 24 November 2023

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.