VoidExpanse/scope-console

From AtomicTorchWiki
Jump to: navigation, search


Scope console

Used for debugging

Visibility: Global.

List of functions

Print
Arguments Returns Example
  • string: message

void

console.Print("Some debug message");
Description

Prints message to console.


PrintError
Arguments Returns Example
  • string: message

void

console.PrintError("Some debug message");
Description

Prints message to console, marked as error.


WaitForUserInteraction
Arguments Returns Example

void

void

console.WaitForUserInteraction();
Description

Server waits for user anykey. Useful when some critical errors occured on server. Only for in-development use. DO NOT USE!