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

Research object

Describes various attributes related to a specific researchable technology.

 

Properties

PropertyTypeDescriptionGame Version
powerNumberThe number of power points required to start the research.3.1
pointsNumberThe number of research points required to complete the research once it's started.3.1
startedBoolean

Whether this research has been started by you or one of your allies:

  • true - yes
  • false - no
(question) It's not clear what this value will be if the research has been completed.
3.1
doneBoolean

Has this technology been fully researched yet?

  • true - yes
  • false - no
3.1
nameString

The name of the technology.

(question) I assume this is from research.txt?

3.1
typeConstantRESEARCH_DATA3.1 Beta 11

Availability

Available since:

  • Warzone 3.1 early alphas
  • The .type property was added in Warzone 3.1 Beta 11

Where to get them?

The following functions return research objects:

  • enumResearch() – lists immediately available researchable technologies
  • findResearch() – lists technologies required to reach a specific goal
  • getResearch() - get details about a specific technology

The following event includes a research object:

See also

You might also like:

Â