Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Excerpt

Make a component available to the player so they can use it in droid designs...

 

Syntax

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

Parameters

ParameterTypeMandatoryNotesGame version
componentString(tick)The component to make available.3.1 Beta 1
playerNumber(tick)The player ID who should be given

...

the component.3.1 Beta 1

Return values

ValueTypeNotesGame version
undefinedUndefinedThe component was made available to the

...

player.3.1 Beta 1
<error>ErrorInvalid component ID or player ID.3.1 Beta 1

Notes

This function actually makes the component available to build, whereas enableComponent() makes the component available to research.

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