# Get Num RawGas Spots
Grammar — Get the number of raw gas locations in town town for player player
Flags —Native
|Function
Returns number of raw gas locations in a town for a player. To get harvestable gas, query for the gas harvesting building in the town.
# Arguments
int
— Playerint
— Town
Returns — int
native int AIGetRawGasNumSpots(int player, int town);
# Related
Category: AI Advanced / Towns / Functions
- [F] —
int
— Get Town State — ( AIGetTownState ) - [F] —
point
— Get Town Location — ( AIGetTownLocation ) - [F] —
int
— Get Closest Town — ( AIGetClosestTown ) - [F] —
int
— Get Next Unused Town Slot — ( AIGetNextUnusedTownSlot ) - [F] —
int
— Get Building Count In Town — ( AIGetBuildingCountInTown ) - [F] —
bool
— Is Town Harvesting — ( AIIsTownHarvestRunning ) - [F] —
int
— Get Current Harvest Peon Count — ( AIGetCurPeonCount ) - [F] —
int
— Get Min Desired Harvest Peon Count — ( AIGetMinPeonCount ) - [F] —
int
— Get Max Desired Harvest Peon Count — ( AIGetMaxPeonCount ) - [F] —
int
— Get Mineral Amount Left — ( AIGetMineralAmountLeft ) - [F] —
int
— Get Gas Amount Left — ( AIGetGasAmountLeft ) - [F] —
int
— Get Num Mineral Spots — ( AIGetMineralNumSpots ) - [F] —
int
— Get Num RawGas Spots — ( AIGetRawGasNumSpots ) - [F] —
point
— Get Offense Gather Location — ( AIGetGatherLocation ) - [F] —
point
— Get Defense Gather Location — ( AIGetGatherDefLocation ) - [F] —
int
— Expand — ( AIExpand ) - [F] —
unitgroup
— Get Town Threats — ( AIGetTownThreats )
# Examples
— None found —