VoidExpanse/scope-spawn

From AtomicTorchWiki
Revision as of 16:15, 13 February 2014 by Damonwall (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.