Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Used to make construction trucks available before building a HQ... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
enableTemplate(templateID); |
Parameters
Parameter | Type | Mandatory | Description | Game Version |
---|---|---|---|---|
templateID | String | The ID of the template to enable. You should only ever enable the "ConstructionDroid" template. | 3.1 Beta 10 |
Return Value
Unknown
Notes
Historically, players have always been able to create construction trucks as soon as they've built a factory, without having to do any research and without having to build a HQ to enable Design Mode.
Changes made to Warzone in version 3.1 Beta 7 resulted in this time honoured tradition being broken, and there was a public uproar and angry mobs started showing up at the forum gates with pitch forks and torches. By Beta 10, a reliable solution had been found in the form of this enableTemplate() function.
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
enableTemplate("ConstructionDroid"); |
See also
- enableComponent() – enable a component so it can be used for vehicle design
- enableResearch() – enable a technology so it can be researched
- enableStructure() – enable a structure so it can be built
Div | ||
---|---|---|
| ||
This special function should only be used during Player Initialisation and should only be used to enable the "ConstructionDroid" template. |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
It was actually added in Beta 9, but that was a duff release so we don't talk about it. |
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|