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

.infiltrate()

Infiltrates core systems so that NEXUS can absorb them.

 

Syntax

// perform all automatic infiltrations
var success = NEXUS.infiltrate();
 
// perform manual infiltration
var success = NEXUS.infiltrate(system[,disconnect[,obj]]);

Parameters

ParameterMandatoryTypeNotesNEXUS Version
system(error)String

If specified, only the specified system will be infiltrated or disconnected based on the "connect" parameter.

If not specified, all automatic infiltrations will be performed.

v0.1

connect(error)Boolean

This parameter only takes effect if a "system" has been specified:

  • true – infiltrate the specified system
  • false – disconnect from the specified system

Defaults to true.

Note that some systems cannot be disconnected once they have been infiltrated.

 
obj(error) This parameter only takes effect if a "system" has been specified, and defines an optional object to pass to the .test(), .connect() or .disconnect() function associated with the system. 

Return value

ValueTypeNotesNEXUS Version
trueBoolean

The system was successfully infiltrated.

NEXUS will now automatically trigger tasks when the system accessed.

v0.1 and above
falseBoolean

The infiltration or disconnection was unsuccessful.

Possible causes:

  • System (if specified) not found
  • System (if specified) already infiltrated or disconnected
  • Unable to disconnect from system (if specified)
  • Automatic infiltrations already performed (if no system specified)
v0.1 and above
nullNullNo disconnect function was found when trying to disconnect from a system.v0.1 and above
undefinedUndefinedThe specified system definition was not found.v0.1 and above
<error>ErrorIs it a bird? Is it a plane? No, it's an Incoming. Laser. Satellite. Strike.v0.1 and above

Example

// perform all automatic infiltrations
NEXUS.infiltrate();
 
// perform specific system infiltration
NEXUS.infiltrate("whatever");
 
// disconnect from specific system
NEXUS.infiltrate("whatever",false);

See also

An Infiltrate Subroutine must be installed before you can use this function. 

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.