wow thanks alot!
edit:
i tried the following:
createUnit('swordman', 0, startLocation(0))
if isFreeCells(startLocation(0), 1, 0) then
addConsoleText('empty')
else
addConsoleText('full')
end
and
createUnit('swordman', 0, startLocation(0))
if isFreeCellsOrHasUnit(startLocation(0), 0, lastCreatedUnit()) then
addConsoleText('empty')
else
addConsoleText('full')
end
both always returned true/empty. do you have a guess why?