Simple clarification needed.
-
As I am getting more and more into XML manipulation I find things that are not very clearly defined.
Can anyone tell me what the "true" and "false" attributes govern in this example?
whenCapturedChangesInto values: allows a unit to change into a different unit when captured from a specific player to a specific player. "fromPlayer:toPlayer:transferAttributes:unitType:numberOfUnits". accepts "any" instead of a player name. allows multiple. examples: <option name="whenCapturedChangesInto" value="any:any:true:Minor_Factory:1"/> and <option name="whenCapturedChangesInto" value="Russians:Germans:false:gold:3:lumber:1"/>
-
Maybe for the transfer of ability.
-
Well the abilities of the unit it turns into are governed by how that unit is designed already within the XML. So that doesn't make any sense. If a unit turns into a factory then the XML is going to look for a factory within the XML, regardless of what the unit could do before it was captured.
So either this is a redundancy... or I am missing something.
-
I never tried it personally, but it seems to imply that.
"fromPlayer:toPlayer:
transferAttributes
:unitType:numberOfUnits" -
Transfer of hit / bombing damage, I think?
-
@alkexr That would certainly make more sense.
-
@hepps This is the same as the recently added whenDamagedChangesInto parameter. If 'true' then the new unit gets the existing units "state" so currently I believe just hit point and bombing damage.
-