Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

 

Syntax

hackNetOff();
  // initialise players here
hackNetOn();

Parameters

No parameters.

Return values

Does not return anything.

Example

See Player Initialisation for more information.

This function should only be used during Player Initialisation. The function is a temporary hack to enable player initialisation via the JS API.
Availability 3.1 B1+

Requires:

  • Warzone 3.1 Beta 1 or above
Contents

Jump to:

See also

Related articles:

  • hackNetOff() – turn network transmissions off prior to performing player initialisation
  • Player Initialisation – detailed overview of player initialisation process
  • rules.js – the script where this function is usually used

 

  • No labels