I went through the A star and I think its goingto take me awhile to digest how to utilize it...
but something struck as to implementing the food cost to units. There is home city recording when creating a unit, how can I access that or use it to subtract food from a city or harvest food from a square?
but something struck as to implementing the food cost to units. There is home city recording when creating a unit, how can I access that or use it to subtract food from a city or harvest food from a square?
Code:
STDEHANDLER(CityCreateUnitEvent) { Unit homeCity; if(!args->GetCity(0, homeCity)) { return GEV_HD_Continue; }
Comment