VoidExpanse/scope-spawn

From AtomicTorchWiki


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.