VoidExpanse/scope-console

From AtomicTorchWiki
Revision as of 09:45, 13 February 2014 by Damonwall (talk | contribs) (Created page with "<noinclude> Category:VoidExpanse/api_scopes </noinclude> = Scope console = Used for debugging '''Visibility:''' Global. == List of functions == {{Scripting_api|Print| ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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!