Other great resources: Official JS API docs, Scripting Forum
Template Object
- Aubergine
Owned by Aubergine
An object describing a droid template...
Â
Properties
It's not clear what values will be present for properties that are not applicable - eg. if construction droid can't have an ECM turret or weapon turret, so what would the 'ecm' and 'weapons' properties contain?
Property | Type | Description | Game version |
---|---|---|---|
type | <not implemented yet> | Â | Â |
id | Number | The unique ID of the object | 3.2 |
name | String | The name of the template | 3.2 |
cost | Number | The amount of power that will be required to produce a droid using this template. | 3.2 |
droidType | Constant | The type of droid the template creates: | 3.2 |
body | String | The ID of the body defined in the template | 3.2 |
propulsion | String | The ID of the propulsion defined in the template | 3.2 |
brain | String | The ID of the brain turret (command module) defined in the template | 3.2 |
repair | String | The ID of the repair turret defined in the template | 3.2 |
ecm | String | The ID of the ECM turret defined in the template | 3.2 |
construct | String | The ID of the construction turret defined in the template | 3.2 |
weapons | Array of String | An array of weapon IDs defined in the template | 3.2 |
This is an experimental feature and subject to change.
Availability 3.2+
Requires:
- Warzone 3.2 or above
Contents
Jump to:
Â