Here is some Python taken from Barbs.py
self.spawnUnits( iBarbarian, (86, 31), (100, 41), con.iWarElephant, 1, iGameTurn, 6-iHandicap, 4, utils.outerInvasion, 0)
I have a few questions about this. What do the numbers 1, 4 and 0 here determine?
Secondly the appear to be 2 coordinates given, should I assume that this forms a box and the unit appears randomly within said box?
Can impassable terrain be in this box, like mountains and sea?
Thanks a lot in advance for anyone who knows the answers to this.
self.spawnUnits( iBarbarian, (86, 31), (100, 41), con.iWarElephant, 1, iGameTurn, 6-iHandicap, 4, utils.outerInvasion, 0)
I have a few questions about this. What do the numbers 1, 4 and 0 here determine?
Secondly the appear to be 2 coordinates given, should I assume that this forms a box and the unit appears randomly within said box?
Can impassable terrain be in this box, like mountains and sea?
Thanks a lot in advance for anyone who knows the answers to this.