Editing Mod API Reference:CustomSpecialUnit

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 6: Line 6:
 
* '''CanBeGiftedWithGiftCard''' ''boolean'': If true, players can gift this unit to another player if it's on the territory they play a Gift Card on.
 
* '''CanBeGiftedWithGiftCard''' ''boolean'': If true, players can gift this unit to another player if it's on the territory they play a Gift Card on.
 
* '''CanBeTransferredToTeammate''' ''boolean'': If true, players can transfer this unit to a teammate using an attack/transfer order.
 
* '''CanBeTransferredToTeammate''' ''boolean'': If true, players can transfer this unit to a teammate using an attack/transfer order.
* '''CombatOrder''' ''integer'':  Determines which special units take damage before others if multiple special units are on the same territory.  The lower the number, the sooner your special unit takes damage.  If you supply a negative number, your special unit will take damage before armies involved in the combat (added in v5.24.1).  A commander has a CombatOrder of 10000, so if you want your special unit to protect the commander you should use a number less than 10000.  You should try to use a number that no other mod is using so that damage order is consistent.  For this reason, avoid round numbers like 0, 1, or 1000, etc.
+
* '''CombatOrder''' ''integer'':  Determines which special units take damage before others if multiple special units are on the same territory.  The lower the number, the sooner your special unit takes damage.  A commander has a CombatOrder of 10000, so if you want your special unit to protect the commander you should use a number less than 10000.  You should try to use a number that no other mod is using so that damage order is consistent.  For this reason, avoid round numbers like 0, 1, or 1000, etc.
 
* '''DamageAbsorbedWhenAttacked''' ''integer'': When this unit takes damage, it will reduce the amount of damage remaining to other units on this territory by this value.  This value has no effect if the unit has a ''Health''.
 
* '''DamageAbsorbedWhenAttacked''' ''integer'': When this unit takes damage, it will reduce the amount of damage remaining to other units on this territory by this value.  This value has no effect if the unit has a ''Health''.
 
* '''DamageToKill''' ''integer'': The number of damage points it takes to kill this unit.  This value has no effect if the unit has a ''Health'', as the health will be used instead.
 
* '''DamageToKill''' ''integer'': The number of damage points it takes to kill this unit.  This value has no effect if the unit has a ''Health'', as the health will be used instead.

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox