(lightbulb) Looking for info on the NEXUS faction in the game? It's in the Warzone Encyclopaedia

.default

Stores various defaults for NEXUS subroutines.

 

Syntax

// get default value
var defaultValue = ("key" in NEXUS.default) ? NEXUS.default["key"] : backupValue;
 
// set default value
NEXUS.default["key"] = value;

Common defaults

The following keys are commonly used by subroutines stored in the Memory Banks on this site, it's likely that your script will want to change some of them:

KeyDefault valueTypeNotes
"throttle"2000Number

The default event throttle, per task, specified in milliseconds.

You can override the throttle (or disable it) on an task by task basis if desired.

For more information, see: Process Subroutines.

"dig"falseBoolean

Whether to keep "digging" once a triggered task has been processed.

For more information, see: (question)

"one"falseBoolean

Whether to remove a task once it has been fired. Be very careful about changing this!

For more information, see: (question)

"seq"falseBoolean

Determines the how an array of audio files in the ".ogg" property of an action will be processed.

For more information, see: Process Subroutines.

"msgTokens"["player", "name"]Array of String

Determines which tokens will be parsed in actions containing a ".msg" property.

For more information, see: Process Subroutines.

Contents

Assimilate:

 

API Browser

Observe:

  • NEXUS()The API namespace for NEXUS, that doubles up as a function for triggering tasks.
    • .infiltrate()Infiltrates core systems so that NEXUS can absorb them.
    • .suffix()Determines the appropriate event key suffix based on the passed in object.
    • .fnDefines helper functions available to all NEXUS subroutines (and external scripts).
    • .actions
    • .classify()Classifies an object using the installed taxonomy in order to derive an "Object Key".
    • .defaultStores various defaults for NEXUS subroutines.