City.FirePartisans(int cityX, int cityY, int countryID, int unitType, int unitLevel, int unitStrength, name) - Does this create an actual physical unit that can be seen?

ORIGINAL: AH4Ever
What method or methods should be used to have a country surrender, once war is declared?
<event eventID="5678" ...>
...
<condition>
<and>
<!--Option 3 in event 1234-->
<expression>
<leftOperand method="Flag.GetValue" param0="1234"/>
<operator value="equals"/>
<rightOperand constValue="3"/>
</expression>
</and>
</condition>
<options>
<option optionID="1" ...>
...
<effects>
...
<effect method="Flag.SetValue" param0="5678" param1="1"/>
</effects>
</option>
<option optionID="2" ...>
...
<effects>
...
<effect method="Flag.SetValue" param0="5678" param1="2"/>
</effects>
</option>
</options>
</event>
Post by doomtrader »
ORIGINAL: doomtrader
Depends how you want to manage AI.
First option is of course most costly for the AI and gives more what if feeling to the game.