Zaratoughda
Posts: 685
Joined: 11/15/2008 From: NE Pa, USA Status: offline
|
I erased what I had because it wasn't working. But, what I tried that didn't work was... ExecSetHexOwner(x, y, NewOwner) and the regimes start at 0 so setting NewOwner to 0 would not work so I tried setting it to -1 and when I created a random game with this ptmaster, when it started up it gave me an error message that just said 'error in event x at line y' or something along those lines, and the exec above was what was at that line in that event. I was just trying -1 in the hope of setting the hex to 'unoccupied' but I got the error message. I believe I also tried 99 and got the same result. I ended up using the classic random game generator and the people's republic option and then in the event code changed the hexes to be people's republic and changed the name of people's republic to 'civil disorder' and, this worked but if you use the classic random game generator you lose the new deal in the new random game generator, that gives each regime a specific people and only a finite number of cities out there that are that same people and, that is a nice enhancement. Don't get this with the classic game generator. Zaratoughda
|