Thanks for you reply Tegetthoff!
I now have confirmed that "clrflag" does indeed work.
What instead seems not to work is the following:
province_building = { province = [ID] building = [building type] size = x } # true if province ID has a building of [building type] that is at least of size X, use following values for building: 1 = IC, 2 = #coastal fort, 3 = land fort, 4 = AA, 5 = infra, 6 = air base, 7 = naval base, 8 = radar station, 9 = nuclear reactor, 10 = rocket test, 11 = synthetic oil, 12 = synthetic rares
The above is copied directly from the eventcommands.txt file.
So, the event should not trigger when the coastal fort is size 3 or greater if I have the following trigger line in my event: "NOT = { province_building = { province = 662 building = 2 size = 3 } }# 2 = coastal fort"
But it does! The fort in question is shown to be exactly 3 in size. Even if I change the fort size from 3 to 1 in the trigger "size = 1" just to see if there is a rounding error, the event will still trigger.
Either my trigger line format is wrong or the province_building/coastal fort trigger does not work anymore with AOD 1.08 ( or perhaps it never has).