FANDOM


Teleportation is a GAE feature that allows a unit to instantly move anywhere on the map. It uses a skill similar to move but without need to take the time to move there.

XMLEdit

<skill>
	<type value="move"/>
	<name value="teleport_skill"/>
	<ep-cost value="100"/>
	<speed value="250"/>
	<anim-speed value="100"/>
	<visible-only value="true"/>
	<animation path="models/archmage_walking.g3d"/>
	<sound enabled="false"/>
</skill>
 
<command>
	<type value="teleport"/>
	<name value="teleport"/>
	<image path="images/magic_teleport.bmp"/>
	<unit-requirements/>
	<upgrade-requirements/>
	<move-skill value="teleport_skill"/>
</command>

ElementsEdit

Most of the XML elements are the same as on the move skill with a few exceptions.

visible-onlyEdit

This limits the teleportation to visible areas (that is, where your units currently have in their sights, or the entire map if fog of war and the shroud of darkness are both off). If off, the unit can teleport anywhere, visited or not.

typeEdit

In order to be recognized as a teleport skill instead of a move skill, the command must explicitly state the type as "teleport".

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.