I'm working on a mod where I need the starting plot for the human player.
For some reason I am having a lot of trouble getting the player starting location to work.
Here is the code I am using to get the StartPlot - this piece seems to compile just fine:
# get human player starting location
tStartPlot = pHuman.getStartingPlot()
The trouble I run into is when I try to get the X and Y for tStartPlot (so I can create a unit at that location) - every single line of code I have tried doesn't compile.
Anyone have any suggestions on how to work with getStartingPlot to generate an X and Y that can be used in initUnit?
Thanks!
For some reason I am having a lot of trouble getting the player starting location to work.
Here is the code I am using to get the StartPlot - this piece seems to compile just fine:
# get human player starting location
tStartPlot = pHuman.getStartingPlot()
The trouble I run into is when I try to get the X and Y for tStartPlot (so I can create a unit at that location) - every single line of code I have tried doesn't compile.
Anyone have any suggestions on how to work with getStartingPlot to generate an X and Y that can be used in initUnit?
Thanks!
Comment