Geos
Moderators: hoijui, Moderators
In the AICallback, you can get a list of all the features on the map. You get an array of itnegers that are feature id's, which are used in the same way as untiID's. You then do soemthign such as const FeatureDef* fd = cb->GetFeaturedef(int featureID); then one of the values in the feature def defines if ti can be used as a geothermal. If ti can eb used as a heothermal then
float3 pos = cb->GetFeaturePos(int featureid);
bool can = cb->CanBuiltAt() etc.....
float3 pos = cb->GetFeaturePos(int featureid);
bool can = cb->CanBuiltAt() etc.....