
Originally Posted by
shadowstar
Can you force ownership of a city? If so can I have the code please?
Hey Piko-
As an example, on turn #100 at the start of the Julii turn, this will give the Senate control of Antioch and then create two units of Hastati in Antioch.
Code:
monitor_event FactionTurnStart FactionType romans_julii
and I_TurnNumber = 100
console_command control romans_senate
console_command capture_settlement Antioch
console_command create_unit Antioch "roman hastati" 2
console_command control romans_julii
terminate_monitor
end_monitor
This assumes the player is playing romans_julii. If not, the code gets more complicated because you'll need some sort of variable to return control of the correct faction to the player.
Bookmarks