FANDOM


Self building is a method of letting a building finish constructing itself. Its main purpose is to be used in combination to the transform command (which allows a unit to morph into a building) by allowing this new building to finish constructing itself (otherwise it will need to be repaired with a repair command).

XMLEdit

<skill>
	<type value="build_self"/>
	<name value="build_self_skill" />
	<ep-cost value="0"/>
	<speed value="300"/>
	<anim-speed value="300"/>
	<animation path="models/defense_tower_construction.g3d"/>
	<sound enabled="false"/>			
</skill>
 
<command>
	<type value="build-self"/>
	<name value="build_self" tip="under_construction"/>
	<display value="false"/>
	<image path="images/none.bmp"/>
	<unit-requirements/>
	<upgrade-requirements/>
	<build-self-skill value="build_self_skill"/>
</command>

DocumentationEdit

Build self skills and commands work largely like the regular be-built skill and generic commands. However, note the type elements as well as the difference between the type value attributes ("build_self" in the skill, "build-self" in the command).

displayEdit

Whether or not to display an button to perform this self building. If false, it will be done automatically, but always last priority (bottom of the queue).

See alsoEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.