and I tested the removebuildings() function it gave me this error
Runtime Error: [string "C:\Users\Dan\Documents\My Games\Sid Meier's..."]:174: attempt to index local 'player' (a nil value)
when you say "not working", nothing at all happens, or it crash completely ?
I've merged the define, send the script, I'll try to have a look tonight or tomorrow evening to the "fall of " event and release a new beta to test with your scenario activated.
If you can, send a savegame from the turn before the event too, would save some time
About the other scenarios, I was thinking of standardizing the names and adding a few general description before the presentation text on the scenario selection screen.
Something simple in 3-4 lines like author, size (small, large, giant, ...), state (alpha, beta, finished, deprecated,...)
your function is called "LiberationOfAfrica" but you've written "FallOfVichy" in SerialEventCityCaptured. Will post a beta v4 soon in the beta thread with the correction.
Any game started on the 1936 Earth map seems doomed to crash. On my latest save as America it crashed on the UK's turn. I looked at the log myself and from what I could tell (I barely understood it so what I say may not be right) it crashed when moving a UK convoy to Manchester. I tried using IGE to delete the convoys for the UK and giving Manchester to someone else (Germany) and when it ended the turn it crashed immediately. Though when it crashed this time it was Japan's turn and they just captured a southern Chinese city. I don't know which one, all I saw was a change in the mini map. Earlier I played as Japan and another time as Germany and the same thing happened for both of them.