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

enableComponent()

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

 

Syntax

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

 

Availability 3.1 B1+

Requires:

  • Warzone 3.1 Beta 1 or above
Contents

Jump to:

Â