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 »

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:

 

  • No labels