MegaGlest Forum
Modding and game content creation => Mods => Topic started by: esraacs on 4 June 2015, 17:08:30
-
i am using AI engine with megaglest. i recieved this error how to avoid it
Trying to move unit [100009 - archer] into occupied cell [x [14] y [14]] and field = 0, unit already in cell [100010 - barracks]
I am using functions in world class in c++
Ex givePositionCommand(unitID, command, pos)
createUnit(unitID, faction, pos)
pos= startlocation(0)
-
I think the error message is quite obvious!
You try to create a unit at the start position, but this field is already occupied because there is the main buildig already.
This is no bug, but you have problems modding the engine. I will move this to the mods section