The Great Apple
Big Cheese
Firsty - I'm not up at 4am because of this, I'm up at 4am because I am going to watch the Grand Prix. Not really an excuse...
Anyway, I've been trying to work out how to assign plots for a city to use through python. It hasn't been going well.
The function I've been trying to use is CyCity.alterWorkingPlot(iIndex) - where iIndex is the plot index. It's the only one I can seem to find that might do something. At the moment I'm having very limited success. I can't seem to figure out quite what the function does, if it does anything at all, so I thought I'd throw the problem out here and see if anybody can think of a solution.
The only this I can think of is maybe that it's a glitch with the plot index function. I say this because CyCity.isWorkingPlot(CyPlot) returns corrent values for if the plot is worked by the city, while CyCity.isWorkingPlot(iIndex) doesn't, often saying alot more plots are worked that actually are.
Any ideas/suggestions? Is there a function I've missed?
Anyway, I've been trying to work out how to assign plots for a city to use through python. It hasn't been going well.
The function I've been trying to use is CyCity.alterWorkingPlot(iIndex) - where iIndex is the plot index. It's the only one I can seem to find that might do something. At the moment I'm having very limited success. I can't seem to figure out quite what the function does, if it does anything at all, so I thought I'd throw the problem out here and see if anybody can think of a solution.
The only this I can think of is maybe that it's a glitch with the plot index function. I say this because CyCity.isWorkingPlot(CyPlot) returns corrent values for if the plot is worked by the city, while CyCity.isWorkingPlot(iIndex) doesn't, often saying alot more plots are worked that actually are.
Any ideas/suggestions? Is there a function I've missed?