Other great resources: Official JS API docs, Scripting Forum
Research object
- Aubergine
Owned by Aubergine
Describes various attributes related to a specific researchable technology.
Â
Properties
Property | Type | Description | Game Version |
---|---|---|---|
power | Number | The number of power points required to start the research. | 3.1 |
points | Number | The number of research points required to complete the research once it's started. | 3.1 |
started | Boolean | Whether this research has been started by you or one of your allies:
It's not clear what this value will be if the research has been completed. | 3.1 |
done | Boolean | Has this technology been fully researched yet?
| 3.1 |
name | String | The name of the technology. I assume this is from research.txt? | 3.1 |
type | Constant | RESEARCH_DATA | 3.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:
- pursueResearch() – tell a research lab to research towards a set of goals
- Research & Technology – other API features relating to research and technology
Â