FANDOM


Patrol is a new command in GAE using existing skills. It allows the unit to walk back and forth between a chosen location, attacking foes that may appear. This makes it useful for patrolling a large area to prevent attack. Patrol can be set to patrol to a unit, in which case it will walk between that unit and its starting location. If the unit dies, it goes to the location it last was.

XMLEdit

<command>
	<type value="patrol"/>
	<name value="patrol"/>
	<image path="icon.bmp"/>
	<unit-requirements/>
	<upgrade-requirements/>
	<move-skill value="move_skill"/>
	<attack-skill value="attack_skill"/>
	<max-distance value="3"/>
</command>

ElementsEdit

typeEdit

The type of the command, in this case, patrol.

nameEdit

The name of the command, as seen ingame. GAE can translate these with separate language files as well.

imageEdit

Path to the image which will be used as an icon to initiate the command.

unit-requirementsEdit

A list of units that must exist before this command can be used. For example, you might have to construct a testing lab before you can start throwing grenades.

upgrade-requirementsEdit

A list of upgrades that must exist before this command can be used. For example, you might have to perform a training field upgrade before you could use a more advanced skill.

move-skillEdit

The name of the move skill to use.

attack-skillEdit

The name of the attack skill to use.

max-distanceEdit

Max-distance is the maximum distance the target can be from its destination before it turns around.

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.