VoidExpanse/scope-spawn

From AtomicTorchWiki
Revision as of 09:15, 13 February 2014 by Damonwall (talk | contribs) (Created page with "<noinclude> Category:VoidExpanse/api_scopes </noinclude> = Scope spawn = Spawn scope is responsible for player spawning points. '''Visibility:''' Global. == List of fun...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Scope spawn

Spawn scope is responsible for player spawning points.

Visibility: Global.

List of functions

GetSystemID
Arguments Returns Example

void

void

spawn.GetSystemID();
Description

Returns starting system ID.


SetSystemID
Arguments Returns Example
  • int: id

void

spawn.SetSystemID(1);
Description

Sets starting system ID.


SetCoordinates
Arguments Returns Example
  • double: coord_x
  • double: coord_y

void

spawn.SetCoordinates(100, 150);
Description

Sets starting coordinates.


GetCoordinates
Arguments Returns Example

void

void

spawn.GetCoordinates();
Description

Returns starting coordinates.