Type location
AngleBetweenPoints(location locA, location locB) returns realDistanceBetweenPoints(location locA, location locB) returns realPolarProjectionBJ(location source, real dist, real angle) returns locationOffsetLocation(location loc, real dx, real dy) returns locationRectFromCenterSizeBJ(location center, real width, real height) returns rectRectContainsLoc(rect r, location loc) returns booleanCompareLocationsBJ(location A, location B) returns booleanGetRectFromCircleBJ(location center, real radius) returns rectSetCameraPositionLocForPlayer(player whichPlayer, location loc) returns nothingRotateCameraAroundLocBJ(real degrees, location loc, player whichPlayer, real duration) returns nothingPanCameraToLocForPlayer(player whichPlayer, location loc) returns nothingPanCameraToTimedLocForPlayer(player whichPlayer, location loc, real duration) returns nothingPanCameraToTimedLocWithZForPlayer(player whichPlayer, location loc, real zOffset, real duration) returns nothingSmartCameraPanBJ(player whichPlayer, location loc, real duration) returns nothingSetCameraQuickPositionLocForPlayer(player whichPlayer, location loc) returns nothingSetCameraQuickPositionLoc(location loc) returns nothingTerrainDeformationCraterBJ(real duration, boolean permanent, location where, real radius, real depth) returns terraindeformationTerrainDeformationRippleBJ(real duration, boolean limitNeg, location where, real startRadius, real endRadius, real depth, real wavePeriod, real waveWidth) returns terraindeformationTerrainDeformationWaveBJ(real duration, location source, location target, real radius, real depth, real trailDelay) returns terraindeformationTerrainDeformationRandomBJ(real duration, location where, real radius, real minDelta, real maxDelta, real updateInterval) returns terraindeformationAddLightningLoc(string codeName, location where1, location where2) returns lightningMoveLightningLoc(lightning whichBolt, location where1, location where2) returns booleanGetTerrainCliffLevelBJ(location where) returns integerGetTerrainTypeBJ(location where) returns integerGetTerrainVarianceBJ(location where) returns integerSetTerrainTypeBJ(location where, integer terrainType, integer variation, integer area, integer shape) returns nothingIsTerrainPathableBJ(location where, pathingtype t) returns booleanSetTerrainPathableBJ(location where, pathingtype t, boolean flag) returns nothingCreateFogModifierRadiusLocSimple(player whichPlayer, fogstate whichFogState, location center, real radius, boolean afterUnits) returns fogmodifierCreateFogModifierRadiusLocBJ(boolean enabled, player whichPlayer, fogstate whichFogState, location center, real radius) returns fogmodifierSetDoodadAnimationBJ(string animName, integer doodadID, real radius, location center) returns nothingCreateImageBJ(string file, real size, location where, real zOffset, integer imageType) returns imageSetImagePositionBJ(image whichImage, location where, real zOffset) returns nothingCreateUbersplatBJ(location where, string name, real red, real green, real blue, real alpha, boolean forcePaused, boolean noBirthTime) returns ubersplatCreateMinimapIconAtLocBJ(location where, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility) returns minimapiconCampaignMinimapIconLocBJ(location where, integer style) returns nothingSetSoundPositionLocBJ(sound soundHandle, location loc, real z) returns nothingPlaySoundAtPointBJ(sound soundHandle, real volumePercent, location loc, real z) returns nothingAddSpecialEffectLocBJ(location where, string modelName) returns effectCreateItemLoc(integer itemId, location loc) returns itemSetItemPositionLoc(item whichItem, location loc) returns nothingUnitDropItemPointLoc(unit whichUnit, item whichItem, location loc) returns booleanUnitUseItemPointLoc(unit whichUnit, item whichItem, location loc) returns booleanCreateUnitAtLocSaveLast(player id, integer unitid, location loc, real face) returns unitCreateNUnitsAtLoc(integer count, integer unitId, player whichPlayer, location loc, real face) returns groupCreateNUnitsAtLocFacingLocBJ(integer count, integer unitId, player whichPlayer, location loc, location lookAt) returns groupCreateCorpseLocBJ(integer unitid, player whichPlayer, location loc) returns unitCreatePermanentCorpseLocBJ(integer style, integer unitid, player whichPlayer, location loc, real facing) returns unitIssueHauntOrderAtLocBJ(unit whichPeon, location loc) returns booleanIssueBuildOrderByIdLocBJ(unit whichPeon, integer unitId, location loc) returns booleanSetUnitPositionLocFacingBJ(unit whichUnit, location loc, real facing) returns nothingSetUnitPositionLocFacingLocBJ(unit whichUnit, location loc, location lookAt) returns nothingUnitDamagePointLoc(unit whichUnit, real delay, real radius, location loc, real amount, attacktype whichAttack, damagetype whichDamage) returns booleanCreateDestructableLoc(integer objectid, location loc, real facing, real scale, integer variation) returns destructableCreateDeadDestructableLocBJ(integer objectid, location loc, real facing, real scale, integer variation) returns destructableEnumDestructablesInCircleBJ(real radius, location loc, code actionFunc) returns nothingWaygateSetDestinationLocBJ(unit waygate, location loc) returns nothingGetUnitsInRangeOfLocMatching(real radius, location whichLocation, boolexpr filter) returns groupGetUnitsInRangeOfLocAll(real radius, location whichLocation) returns groupSetUnitFacingToFaceLocTimed(unit whichUnit, location target, real duration) returns nothingSetTextTagPosBJ(texttag tt, location loc, real zOffset) returns nothingCreateTextTagLocBJ(string s, location loc, real zOffset, real size, real red, real green, real blue, real transparency) returns texttagPingMinimapLocForForce(force whichForce, location loc, real duration) returns nothingPingMinimapLocForPlayer(player whichPlayer, location loc, real duration) returns nothingPingMinimapLocForForceEx(force whichForce, location loc, real duration, integer style, real red, real green, real blue) returns nothingPlayDialogueFromSpeakerTypeEx(force toForce, player fromPlayer, integer speakerType, location loc, sound soundHandle, integer timeType, real timeVal, boolean wait) returns booleanTransmissionFromUnitTypeWithNameBJ(force toForce, player fromPlayer, integer unitId, string unitName, location loc, sound soundHandle, string message, integer timeType, real timeVal, boolean wait) returns nothingSaveLocationHandleBJ(location whichLocation, integer key, integer missionKey, hashtable table) returns booleanRestoreUnitLocFacingAngleBJ(string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, real facing) returns unitRestoreUnitLocFacingPointBJ(string key, string missionKey, gamecache cache, player forWhichPlayer, location loc, location lookAt) returns unitIsPointBlightedBJ(location where) returns booleanIssuePointOrderLocBJ(unit whichUnit, string order, location whichLocation) returns booleanGroupPointOrderLocBJ(group whichGroup, string order, location whichLocation) returns booleanSetUnitRallyPoint(unit whichUnit, location targPos) returns nothingSetBlightRadiusLocBJ(boolean addBlight, player whichPlayer, location loc, real radius) returns nothingMeleeFindNearestMine(location src, real range) returns unitMeleeRandomHeroLoc(player p, integer id1, integer id2, integer id3, integer id4, location loc) returns unitMeleeGetProjectedLoc(location src, location targ, real distance, real deltaAngle) returns locationMeleeGetLocWithinRect(location src, rect r) returns locationMeleeStartingUnitsHuman(player whichPlayer, location startLoc, boolean doHeroes, boolean doCamera, boolean doPreload) returns nothingMeleeStartingUnitsOrc(player whichPlayer, location startLoc, boolean doHeroes, boolean doCamera, boolean doPreload) returns nothingMeleeStartingUnitsUndead(player whichPlayer, location startLoc, boolean doHeroes, boolean doCamera, boolean doPreload) returns nothingMeleeStartingUnitsNightElf(player whichPlayer, location startLoc, boolean doHeroes, boolean doCamera, boolean doPreload) returns nothingMeleeStartingUnitsUnknownRace(player whichPlayer, location startLoc, boolean doHeroes, boolean doCamera, boolean doPreload) returns nothingMeleeStartingUnitsForPlayer(race whichRace, player whichPlayer, location loc, boolean doHeroes) returns nothing