Problem with an Event

cav scout

The Continuum
Joined
Apr 4, 2008
Messages
2,630
So i'm not a modder, just a lay person who is making some adjustments to Gaius Octavius' War in the Pacific Mod.

The changes I have made are mostly on the map, adding cities and what not. I did this by starting a SP game and then entering into worldbuilder to make the changes. I have also done some tweaks to the XML to adjust maintenance etc.

My problem is this:

The MOD has events including one where if a Japanese home island city is captured by the allies the Japanese get a reinforcement unit spawn on the next turn.

When I was doing my map changes in world builder I accidently placed an allied unit into a Japanese city and this flipped the city. I returned the city to Japanese control and continued with my adjustments.

Now when I play my modified scenario this event triggers on the first turn :(

Is there a way to "clear the cache" and prevent this event from firing until much later in the scenario when the Japanese home island are actually invaded by an allied player?

Any help would be apprecitated, thanks guys!
 
Check for ScriptData on the city in question in the WB file. This is used to store data on objects like cities so that things implemented in Python can remember what is going on.

There may or may not be script data for that city in the original. You should return it to the original state.
 
Back
Top Bottom