reustonium
Chieftain
- Joined
- Sep 2, 2014
- Messages
- 1
I'm working on a single player mod that intends to track the ownership of each plot at the end of each turn. The purpose is to post-process this data with the mapdata into a nice looking animated map at the end of each game. (I find the in-game strategic map to be rather ugly).
My first idea was to loop all plots every turn.
This is going to be super slow though, and since most plots don't get a new owner each turn really wasteful.
Is there an Event in the sdk that fires when a plot get's a new owner?
Any help you can provide is really appreciated.
My first idea was to loop all plots every turn.
Code:
Events.ActivePlayerTurnEnd.Add( GetPlotOwnership);
This is going to be super slow though, and since most plots don't get a new owner each turn really wasteful.
Is there an Event in the sdk that fires when a plot get's a new owner?
Any help you can provide is really appreciated.