captureUnitOnEnteringBy - Resolved -
-
Does not explicitly say this, assume :
- Requires changeUnitOwners territoryAttachment
- Requires canBeGivenByTerritoryTo unitAttachment
- Requires 'Give Units By Territory' global property
-
That would be incorrect. These are separate behaviors.
captureUnitOnEnteringBy . The conditions listed below are needed for this to function. This is for taking control of non-infrastructure enemy units.
<!-- allows a player to let its units be captured by another player if true, when the territory is captured. units must have canBeCapturedOnEnteringBy and territories must have captureUnitOnEnteringBy and the players must have the player attachment captureUnitOnEnteringBy --> <property name="Capture Units On Entering Territory" value="false" editable="false"> <boolean/> </property>
-
To give units to an ally the below is needed.
<!-- allows a player to give units to another player if true. units must have canBeGivenByTerritory and territories must have changeUnitOwners and the players must have the player attachment giveUnitControl --> <property name="Give Units By Territory" value="true" editable="false"> <boolean/> </property>
-
But some options can be manipulated in atypical ways. People seem to always figure out new ways upon experimentation.