(info) Other great resources: Official JS API docs, Scripting Forum

hackNetOff()

Used to disable network updates during Player Initialisation...

 

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:

  • hackNetOn() – turn network transmissions back on after player initialisation
  • Player Initialisation – detailed overview of player initialisation process
  • rules.js – the script where this function is usually used

Â