FANDOM


A trigger option


<attatchment name="coolstuffhappens" attatchTo="Russians" javaClass="games.strategy.triplea.attatchments.TriggerAttachment" type="player">

   <option name="trigger" value="objectiveAttachment1"/>
   <option name="frontier" value="productionRussian"/>
   <option name="placement" value="3 Sea Zone:battleship:transport" count="2"/>
   <option name="placement" value="5 Sea Zone:battleship" count="3"/>
   <option name="purchase" value="tank:cruiser" count="2"/>
   <option name="tech" value="warBonds"/>
   <option name="invert" value="true"/>

</attatchment> trigger, any ruleAttachment, this is the conditional tested to activate whatever changes this attachment represents.

placement adds units to the map. first string in the list should be a territory, then an arbitrary list of unitTypes, Count multiplies all listed unit types. so <option name="placement" value="3 Sea Zone:battleship:transport" count="2"/> adds 2 battleships and 2 transports. <option name="placement" value="3 Sea Zone:battleship:transport:transport" count="1"/> would add 1 battleship and 2 transports. <option name="placement" value="3 Sea Zone:battleship"/> <option name="placement" value="3 Sea Zone:transport" count="2"/> would also add 1 battleship and 2 transports (i.e. unlike usual you can stack up more than one option call) A special note about placement. you can place in enemy territories, and it will trigger a battle. this triggers at the beginning of combat movement.