VoidExpanse/scope-spawn

From AtomicTorchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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.