Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Enable a player to research a specific droid component...

 

Syntax

Code Block
themeRDark
languagejavascript
linenumberstrue
enableComponent(component, player);

Parameters

...

ParameterTypeMandatoryNotesGame version
componentString(tick)The component name to enable.3.1 Beta 1
playerNumber(tick)The player who will be able to research this component.3.1 Beta 1

Return values

ValueTypeNotesGame version
undefinedUndefinedComponent was made available to research3.1 Beta 1
<error>ErrorBad parameters or component/player specified does not exist.3.1 Beta 1

Example

 

Div
classbox
Availability
Status
colourGreen
title3.1 b1+

Requires:

  • Warzone 3.1 Beta 1 or above
Div
classbox
Contents

Jump to:

Table of Contents
maxLevel5