This AI is still in early stages of development.

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

Provides WZ 3.2 compatible componentAvailable() function...

 

componentAvailable()

Use this function exactly as you would on Warzone 3.2: componentAvailable()

Notes:

  • The component type parameter is optional
  • If no component type is specified, go.guessComponentType() is used to guess it on WZ 3.1
  • The script defines component type constants (COMP_*) on all versions of Warzone
  • See "Notes" section of componentAvailable() for a list of constants

Tips:

  • Specify the component type parameter for full reliability
Availability 3.1 B1+

Requires:

Reliability

Warzone 3.1:

The reliability of componentAvailable() depends on the accuracy of the go.guessComponentType() function.

Warzone 3.2:

The native function remains unchanged so full reliability is assured.

 

  • No labels