Hello there!
I would like to prevent players from building more than one fortress. The following script works, but it has a major flaw. If you start building two fortresses simultaneously, not only are you allowed to keep them once constructed, the whole restriction is miraculously lifted, allowing you to build as many as you want from then on.
*** IF ***
Player '<This Player>' has Greater Than 0 unit or structure of this type 'DwarvenFortress'
Actions if True
Player '<This Player>' allowed to build 'DwarvenFortress' is FALSE.
Is there a way to make this script work? What I'm thinking is to destroy an object of the chosen type owned by a player if they build more than one, or better yet, ALL objects of the chosen type (to really punish fort spammers). But I don't know how to do that...