There's probably an easier way to do this, but I would suggest editing data/ai/micro_ais/cas/ca_goto.lua and just start adding debug statements:Is there any way I can use:inspect
- or anything else - to see if a unit is controlled by a micro ai or the default ai?
Code:
function ca_goto:execution(cfg, data) local units, locs = GO_units, GO_locs -- DEBUG!!! print('Number of units: ' .. #units); for i,unit in ipairs(units) do print(unit.side .. ': ' .. unit.type .. ': ' .. unit.x .. ',' .. unit.y) end ...
Statistics: Posted by gnombat — Yesterday, 11:07 pm