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 4 Next »

Check if a droid component is available...

 

Syntax

componentAvailable(type, name)

Parameters

ParameterTypeMandatoryNotesGame version
type(question)(tick)(question) 
nameString(tick)

The component name.

Example: "Spade1Mk1"

 

Return value

ValueTypeNotesGame version
trueBooleanThe component is available for use. 
falseBooleanThe component is not currently available. 
<error>ErrorInvalid parameters. 

Example

to follow

Availability 3.1 B1+?

Requires:

  • Warzone (question) or above
Contents

Jump to:

 

  • No labels