that you're looking at a unit with a missing string. I would be tempted to print out the units coords, and the coords of the nearest city so you can go find it.
pPlayer.getNumUnits() is still really helpful for telling the total amount of units but pPlayer.getUnit() is unreliable. I don't know why they did't structure that array. They do structure pPlot.getUnit().
I had the same problem as you for the longest time, units would just seem to "escape" and wouldn't be effected by any of my functions anymore. It drove me crazy until Trip pointed this out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.