JASS Tools
News
Download
Help
JASS Manual
-------------------------------------------------------------

TYPES | FUNCTIONS | VARIABLES

Type boolean

Global Variables | Functions That Return | Functions That Take

Native Typeboolean
Children Types:none

BACK TO TOP

------------------------------------------------------------

Global variables of type boolean:

common.j:
FALSE, TRUE

common.ai:
allow_air_creeps, allow_signal_abort, build_campaign_attackers, do_campaign_farms, do_debug_cheats, form_group_timeouts, get_zeppelin, harvest_town1, harvest_town2, harvest_town3, ready_for_zeppelin, take_exp, trace_on, two_heroes, zep_next_wave

Blizzard.j:
bj_changeLevelShowScores, bj_cineModeAlreadyIn, bj_cineModePriorDawnDusk, bj_cineModePriorFogSetting, bj_cineModePriorMaskSetting, bj_dncIsDaytime, bj_finishSoonAllExposed, bj_gameStarted, bj_isSinglePlayer, bj_isUnitGroupDeadResult, bj_isUnitGroupEmptyResult, bj_isUnitGroupInRectResult, bj_makeUnitRescuableFlag, bj_meleeDefeated, bj_meleeGameOver, bj_meleeGrantHeroItems, bj_meleeVictoried, bj_meleeVisibilityIsDay, bj_pauseAllUnitsFlag, bj_playerIsCrippled, bj_playerIsExposed, bj_queuedExecUseConds, bj_rescueChangeColorBldg, bj_rescueChangeColorUnit, bj_slotControlReady, bj_slotControlUsed, bj_stockAllowedArtifact, bj_stockAllowedCharged, bj_stockAllowedPermanent, bj_useDawnDuskSounds, bj_wantDestroyGroup

BACK TO TOP

------------------------------------------------------------

Functions that return type boolean (     common.j,      common.ai,      Blizzard.j):

native AddAssault (integer qty, integer id) returns boolean
native AddDefenders (integer qty, integer id) returns boolean
function AllowVictoryDefeat (playergameresult gameResult) returns boolean
native CaptainAtGoal () returns boolean
native CaptainInCombat (boolean attack_captain) returns boolean
native CaptainIsEmpty () returns boolean
native CaptainIsFull () returns boolean
native CaptainIsHome () returns boolean
native CaptainRetreating () returns boolean
function CheckItemcodeStatus (integer itemId, integer status) returns boolean
function CheckItemStatus (item whichItem, integer status) returns boolean
function CompareLocationsBJ (location A, location B) returns boolean
function CompareRectsBJ (rect A, rect B) returns boolean
native ConvertUnits (integer qty, integer id) returns boolean
native CopySaveGame (string sourceSaveName, string destSaveName) returns boolean
function CopySaveGameBJ (string sourceSaveName, string destSaveName) returns boolean
native CreepsOnMap () returns boolean
native DestroyLightning (lightning whichBolt) returns boolean
function DestroyLightningBJ (lightning whichBolt) returns boolean
native DoAiScriptDebug () returns boolean
function DoesUnitGenerateAlarms (unit whichUnit) returns boolean
function EnumDestructablesInCircleBJFilter () returns boolean
function GetBooleanAnd (boolean valueA, boolean valueB) returns boolean
function GetBooleanOr (boolean valueA, boolean valueB) returns boolean
native GetCreepCampFilterState () returns boolean
native GetCustomCampaignButtonVisible (integer whichButton) returns boolean
constant native GetPlayerAlliance (player sourcePlayer, player otherPlayer, alliancetype whichAllianceSetting) returns boolean
native GetPlayerSelectable (player whichPlayer) returns boolean
constant native GetPlayerTechResearched (player whichPlayer, integer techid, boolean specificonly) returns boolean
native GetSoundIsLoading (sound soundHandle) returns boolean
native GetSoundIsPlaying (sound soundHandle) returns boolean
function GetSoundIsPlayingBJ (sound soundHandle) returns boolean
native GetStoredBoolean (gamecache cache, string missionKey, string key) returns boolean
function GetStoredBooleanBJ (string key, string missionKey, gamecache cache) returns boolean
function GetUnitsInRectOfPlayerFilter () returns boolean
function GetUnitsOfPlayerAndTypeIdFilter () returns boolean
function GetUnitsOfTypeIdAllFilter () returns boolean
native GroupImmediateOrder (group whichGroup, string order) returns boolean
function GroupImmediateOrderBJ (group whichGroup, string order) returns boolean
native GroupImmediateOrderById (group whichGroup, integer order) returns boolean
native GroupPointOrder (group whichGroup, string order, real x, real y) returns boolean
native GroupPointOrderById (group whichGroup, integer order, real x, real y) returns boolean
native GroupPointOrderByIdLoc (group whichGroup, integer order, location whichLocation) returns boolean
native GroupPointOrderLoc (group whichGroup, string order, location whichLocation) returns boolean
function GroupPointOrderLocBJ (group whichGroup, string order, location whichLocation) returns boolean
function GroupTargetDestructableOrder (group whichGroup, string order, widget targetWidget) returns boolean
function GroupTargetItemOrder (group whichGroup, string order, widget targetWidget) returns boolean
native GroupTargetOrder (group whichGroup, string order, widget targetWidget) returns boolean
function GroupTargetOrderBJ (group whichGroup, string order, widget targetWidget) returns boolean
native GroupTargetOrderById (group whichGroup, integer order, widget targetWidget) returns boolean
function GroupTrainOrderByIdBJ (group g, integer unitId) returns boolean
function HallsCompleted (integer unitid) returns boolean
native HaveStoredBoolean (gamecache cache, string missionKey, string key) returns boolean
native HaveStoredInteger (gamecache cache, string missionKey, string key) returns boolean
native HaveStoredReal (gamecache cache, string missionKey, string key) returns boolean
native HaveStoredString (gamecache cache, string missionKey, string key) returns boolean
native HaveStoredUnit (gamecache cache, string missionKey, string key) returns boolean
function HaveStoredValue (string key, integer valueType, string missionKey, gamecache cache) returns boolean
native IsCineFilterDisplayed () returns boolean
function IsCustomCampaignButtonVisibile (integer whichButton) returns boolean
function IsDawnDuskEnabled () returns boolean
function IsDestructableAliveBJ (destructable d) returns boolean
function IsDestructableDeadBJ (destructable d) returns boolean
native IsDestructableInvulnerable (destructable d) returns boolean
function IsDestructableInvulnerableBJ (destructable d) returns boolean
native IsFogEnabled () returns boolean
constant native IsFoggedToPlayer (real x, real y, player whichPlayer) returns boolean
native IsFogMaskEnabled () returns boolean
native IsGameTypeSupported (gametype whichGameType) returns boolean
constant native IsHeroUnitId (integer unitId) returns boolean
function IsItemHiddenBJ (item whichItem) returns boolean
native IsItemIdPawnable (integer itemId) returns boolean
native IsItemIdPowerup (integer itemId) returns boolean
native IsItemIdSellable (integer itemId) returns boolean
native IsItemInvulnerable (item whichItem) returns boolean
native IsItemOwned (item whichItem) returns boolean
native IsItemPawnable (item whichItem) returns boolean
native IsItemPowerup (item whichItem) returns boolean
native IsItemSellable (item whichItem) returns boolean
native IsItemVisible (item whichItem) returns boolean
native IsLeaderboardDisplayed (leaderboard lb) returns boolean
constant native IsLocationFoggedToPlayer (location whichLocation, player whichPlayer) returns boolean
native IsLocationInRegion (region whichRegion, location whichLocation) returns boolean
constant native IsLocationMaskedToPlayer (location whichLocation, player whichPlayer) returns boolean
constant native IsLocationVisibleToPlayer (location whichLocation, player whichPlayer) returns boolean
native IsMapFlagSet (mapflag whichMapFlag) returns boolean
constant native IsMaskedToPlayer (real x, real y, player whichPlayer) returns boolean
native IsMultiboardDisplayed (multiboard lb) returns boolean
native IsMultiboardMinimized (multiboard lb) returns boolean
native IsNoDefeatCheat () returns boolean
native IsNoVictoryCheat () returns boolean
constant native IsPlayerAlly (player whichPlayer, player otherPlayer) returns boolean
constant native IsPlayerEnemy (player whichPlayer, player otherPlayer) returns boolean
function IsPlayerFlagSetBJ (playerstate whichPlayerFlag, player whichPlayer) returns boolean
constant native IsPlayerInForce (player whichPlayer, force whichForce) returns boolean
constant native IsPlayerObserver (player whichPlayer) returns boolean
native IsPlayerRacePrefSet (player whichPlayer, racepreference pref) returns boolean
function IsPlayerSlotState (player whichPlayer, playerslotstate whichState) returns boolean
native IsPointBlighted (real x, real y) returns boolean
function IsPointBlightedBJ (location where) returns boolean
native IsPointInRegion (region whichRegion, real x, real y) returns boolean
native IsQuestCompleted (quest whichQuest) returns boolean
native IsQuestDiscovered (quest whichQuest) returns boolean
native IsQuestEnabled (quest whichQuest) returns boolean
native IsQuestFailed (quest whichQuest) returns boolean
native IsQuestItemCompleted (questitem whichQuestItem) returns boolean
native IsQuestRequired (quest whichQuest) returns boolean
native IssueBuildOrder (unit whichPeon, string unitToBuild, real x, real y) returns boolean
native IssueBuildOrderById (unit whichPeon, integer unitId, real x, real y) returns boolean
function IssueBuildOrderByIdLocBJ (unit whichPeon, integer unitId, location loc) returns boolean
function IssueHauntOrderAtLocBJ (unit whichPeon, location loc) returns boolean
function IssueHauntOrderAtLocBJFilter () returns boolean
native IssueImmediateOrder (unit whichUnit, string order) returns boolean
function IssueImmediateOrderBJ (unit whichUnit, string order) returns boolean
native IssueImmediateOrderById (unit whichUnit, integer order) returns boolean
native IssueInstantPointOrder (unit whichUnit, string order, real x, real y, widget instantTargetWidget) returns boolean
native IssueInstantPointOrderById (unit whichUnit, integer order, real x, real y, widget instantTargetWidget) returns boolean
native IssueInstantTargetOrder (unit whichUnit, string order, widget targetWidget, widget instantTargetWidget) returns boolean
native IssueInstantTargetOrderById (unit whichUnit, integer order, widget targetWidget, widget instantTargetWidget) returns boolean
native IssueNeutralImmediateOrder (player forWhichPlayer, unit neutralStructure, string unitToBuild) returns boolean
native IssueNeutralImmediateOrderById (player forWhichPlayer, unit neutralStructure, integer unitId) returns boolean
native IssueNeutralPointOrder (player forWhichPlayer, unit neutralStructure, string unitToBuild, real x, real y) returns boolean
native IssueNeutralPointOrderById (player forWhichPlayer, unit neutralStructure, integer unitId, real x, real y) returns boolean
native IssueNeutralTargetOrder (player forWhichPlayer, unit neutralStructure, string unitToBuild, widget target) returns boolean
native IssueNeutralTargetOrderById (player forWhichPlayer, unit neutralStructure, integer unitId, widget target) returns boolean
native IssuePointOrder (unit whichUnit, string order, real x, real y) returns boolean
native IssuePointOrderById (unit whichUnit, integer order, real x, real y) returns boolean
native IssuePointOrderByIdLoc (unit whichUnit, integer order, location whichLocation) returns boolean
native IssuePointOrderLoc (unit whichUnit, string order, location whichLocation) returns boolean
function IssuePointOrderLocBJ (unit whichUnit, string order, location whichLocation) returns boolean
function IssueTargetDestructableOrder (unit whichUnit, string order, widget targetWidget) returns boolean
function IssueTargetItemOrder (unit whichUnit, string order, widget targetWidget) returns boolean
native IssueTargetOrder (unit whichUnit, string order, widget targetWidget) returns boolean
function IssueTargetOrderBJ (unit whichUnit, string order, widget targetWidget) returns boolean
native IssueTargetOrderById (unit whichUnit, integer order, widget targetWidget) returns boolean
function IssueTrainOrderByIdBJ (unit whichUnit, integer unitId) returns boolean
function IssueUpgradeOrderByIdBJ (unit whichUnit, integer techId) returns boolean
native IsSuspendedXP (unit whichHero) returns boolean
native IsTerrainPathable (real x, real y, pathingtype t) returns boolean
function IsTerrainPathableBJ (location where, pathingtype t) returns boolean
native IsTimerDialogDisplayed (timerdialog whichDialog) returns boolean
native IsTowered (unit target) returns boolean
native IsTriggerEnabled (trigger whichTrigger) returns boolean
function IsTriggerQueuedBJ (trigger trig) returns boolean
function IsTriggerQueueEmptyBJ () returns boolean
native IsTriggerWaitOnSleeps (trigger whichTrigger) returns boolean
constant native IsUnit (unit whichUnit, unit whichSpecifiedUnit) returns boolean
function IsUnitAliveBJ (unit whichUnit) returns boolean
constant native IsUnitAlly (unit whichUnit, player whichPlayer) returns boolean
function IsUnitDeadBJ (unit whichUnit) returns boolean
constant native IsUnitDetected (unit whichUnit, player whichPlayer) returns boolean
constant native IsUnitEnemy (unit whichUnit, player whichPlayer) returns boolean
constant native IsUnitFogged (unit whichUnit, player whichPlayer) returns boolean
function IsUnitGroupDeadBJ (group g) returns boolean
function IsUnitGroupEmptyBJ (group g) returns boolean
function IsUnitGroupInRectBJ (group g, rect r) returns boolean
constant native IsUnitHidden (unit whichUnit) returns boolean
function IsUnitHiddenBJ (unit whichUnit) returns boolean
constant native IsUnitIdType (integer unitId, unittype whichUnitType) returns boolean
constant native IsUnitIllusion (unit whichUnit) returns boolean
function IsUnitIllusionBJ (unit whichUnit) returns boolean
constant native IsUnitInForce (unit whichUnit, force whichForce) returns boolean
constant native IsUnitInGroup (unit whichUnit, group whichGroup) returns boolean
constant native IsUnitInRange (unit whichUnit, unit otherUnit, real distance) returns boolean
constant native IsUnitInRangeLoc (unit whichUnit, location whichLocation, real distance) returns boolean
constant native IsUnitInRangeXY (unit whichUnit, real x, real y, real distance) returns boolean
native IsUnitInRegion (region whichRegion, unit whichUnit) returns boolean
constant native IsUnitInTransport (unit whichUnit, unit whichTransport) returns boolean
function IsUnitInTransportBJ (unit whichUnit, unit whichTransport) returns boolean
constant native IsUnitInvisible (unit whichUnit, player whichPlayer) returns boolean
constant native IsUnitLoaded (unit whichUnit) returns boolean
function IsUnitLoadedBJ (unit whichUnit) returns boolean
constant native IsUnitMasked (unit whichUnit, player whichPlayer) returns boolean
constant native IsUnitOwnedByPlayer (unit whichUnit, player whichPlayer) returns boolean
native IsUnitPaused (unit whichHero) returns boolean
function IsUnitPausedBJ (unit whichUnit) returns boolean
constant native IsUnitRace (unit whichUnit, race whichRace) returns boolean
constant native IsUnitSelected (unit whichUnit, player whichPlayer) returns boolean
constant native IsUnitType (unit whichUnit, unittype whichUnitType) returns boolean
constant native IsUnitVisible (unit whichUnit, player whichPlayer) returns boolean
constant native IsVisibleToPlayer (real x, real y, player whichPlayer) returns boolean
native LeaderboardHasPlayerItem (leaderboard lb, player p) returns boolean
function LeaderboardHasPlayerItemBJ (leaderboard lb, player whichPlayer) returns boolean
function LivingPlayerUnitsOfTypeIdFilter () returns boolean
function MeleePlayerIsCrippled (player whichPlayer) returns boolean
function MeleePlayerIsOpponent (integer playerIndex, integer opponentIndex) returns boolean
function MeleeTrainedUnitIsHeroBJFilter () returns boolean
function MeleeWasUserPlayer (player whichPlayer) returns boolean
native MergeUnits (integer qty, integer a, integer b, integer make) returns boolean
function ModifyHeroSkillPoints (unit whichHero, integer modifyMethod, integer value) returns boolean
native MoveLightning (lightning whichBolt, boolean checkVisibility, real x1, real y1, real x2, real y2) returns boolean
native MoveLightningEx (lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2) returns boolean
function MoveLightningLoc (lightning whichBolt, location where1, location where2) returns boolean
function NearbyElevatorExists (real x, real y) returns boolean
function PlayersAreCoAllied (player playerA, player playerB) returns boolean
function PostTriggerExecuteBJ (trigger trig, boolean checkConditions) returns boolean
function PrepSuicideOnPlayer (integer seconds) returns boolean
function QueuedTriggerAddBJ (trigger trig, boolean checkConditions) returns boolean
function QueuedTriggerAttemptExec () returns boolean
function QueuedTriggerRemoveByIndex (integer trigIndex) returns boolean
function RectContainsCoords (rect r, real x, real y) returns boolean
function RectContainsItem (item whichItem, rect r) returns boolean
function RectContainsLoc (rect r, location loc) returns boolean
function RectContainsUnit (rect r, unit whichUnit) returns boolean
native ReloadGameCachesFromDisk () returns boolean
native RemoveSaveDirectory (string sourceDirName) returns boolean
function RemoveSaveDirectoryBJ (string sourceDirName) returns boolean
native RenameSaveDirectory (string sourceDirName, string destDirName) returns boolean
function RenameSaveDirectoryBJ (string sourceDirName, string destDirName) returns boolean
native ReviveHero (unit whichHero, real x, real y, boolean doEyecandy) returns boolean
native ReviveHeroLoc (unit whichHero, location loc, boolean doEyecandy) returns boolean
native SaveGameCache (gamecache whichCache) returns boolean
function SaveGameCacheBJ (gamecache cache) returns boolean
native SaveGameExists (string saveName) returns boolean
native SetExpansion (unit peon, integer id) returns boolean
native SetLightningColor (lightning whichBolt, real r, real g, real b, real a) returns boolean
function SetLightningColorBJ (lightning whichBolt, real r, real g, real b, real a) returns boolean
native SetProduce (integer qty, integer id, integer town) returns boolean
native SetUpgrade (integer id) returns boolean
function StartExpansion (integer qty, integer hall) returns boolean
function StartUnit (integer ask_qty, integer unitid, integer town) returns boolean
function StartUpgrade (integer level, integer upgid) returns boolean
native StoreString (gamecache cache, string missionKey, string key, string value) returns boolean
function StoreStringBJ (string value, string key, string missionKey, gamecache cache) returns boolean
native StoreUnit (gamecache cache, string missionKey, string key, unit whichUnit) returns boolean
function StoreUnitBJ (unit whichUnit, string key, string missionKey, gamecache cache) returns boolean
native SuicidePlayer (player id, boolean check_full) returns boolean
native SuicidePlayerUnits (player id, boolean check_full) returns boolean
native TownHasHall (integer townid) returns boolean
native TownHasMine (integer townid) returns boolean
native TownThreatened () returns boolean
native TriggerEvaluate (trigger whichTrigger) returns boolean
function TriggerExecuteBJ (trigger trig, boolean checkConditions) returns boolean
native UnitAddAbility (unit whichUnit, integer abilityId) returns boolean
function UnitAddAbilityBJ (integer abilityId, unit whichUnit) returns boolean
native UnitAddItem (unit whichUnit, item whichItem) returns boolean
function UnitAddItemSwapped (item whichItem, unit whichHero) returns boolean
native UnitAddItemToSlotById (unit whichUnit, integer itemId, integer itemSlot) returns boolean
native UnitAddType (unit whichUnit, unittype whichUnitType) returns boolean
function UnitAddTypeBJ (unittype whichType, unit whichUnit) returns boolean
native UnitAlive (unit id) returns boolean
native UnitCanSleep (unit whichUnit) returns boolean
function UnitCanSleepBJ (unit whichUnit) returns boolean
native UnitCanSleepPerm (unit whichUnit) returns boolean
native UnitDamagePoint (unit whichUnit, real delay, real radius, real x, real y, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean
function UnitDamagePointLoc (unit whichUnit, real delay, real radius, location loc, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean
native UnitDamageTarget (unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean
function UnitDamageTargetBJ (unit whichUnit, unit target, real amount, attacktype whichAttack, damagetype whichDamage) returns boolean
native UnitDropItemPoint (unit whichUnit, item whichItem, real x, real y) returns boolean
function UnitDropItemPointBJ (unit whichUnit, item whichItem, real x, real y) returns boolean
function UnitDropItemPointLoc (unit whichUnit, item whichItem, location loc) returns boolean
native UnitDropItemSlot (unit whichUnit, item whichItem, integer slot) returns boolean
function UnitDropItemSlotBJ (unit whichUnit, item whichItem, integer slot) returns boolean
native UnitDropItemTarget (unit whichUnit, item whichItem, widget target) returns boolean
function UnitDropItemTargetBJ (unit whichUnit, item whichItem, widget target) returns boolean
function UnitGenerateAlarms (unit whichUnit, boolean generate) returns boolean
function UnitHasBuffBJ (unit whichUnit, integer buffcode) returns boolean
native UnitHasBuffsEx (unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel) returns boolean
native UnitHasItem (unit whichUnit, item whichItem) returns boolean
function UnitHasItemOfTypeBJ (unit whichUnit, integer itemId) returns boolean
native UnitIgnoreAlarm (unit whichUnit, boolean flag) returns boolean
native UnitIgnoreAlarmToggled (unit whichUnit) returns boolean
native UnitInvis (unit id) returns boolean
native UnitIsSleeping (unit whichUnit) returns boolean
function UnitIsSleepingBJ (unit whichUnit) returns boolean
native UnitMakeAbilityPermanent (unit whichUnit, boolean permanent, integer abilityId) returns boolean
function UnitMakeAbilityPermanentBJ (boolean permanent, integer abilityId, unit whichUnit) returns boolean
native UnitModifySkillPoints (unit whichHero, integer skillPointDelta) returns boolean
native UnitRemoveAbility (unit whichUnit, integer abilityId) returns boolean
function UnitRemoveAbilityBJ (integer abilityId, unit whichUnit) returns boolean
function UnitRemoveBuffBJ (integer buffcode, unit whichUnit) returns boolean
native UnitRemoveType (unit whichUnit, unittype whichUnitType) returns boolean
function UnitRemoveTypeBJ (unittype whichType, unit whichUnit) returns boolean
native UnitStripHeroLevel (unit whichHero, integer howManyLevels) returns boolean
native UnitUseItem (unit whichUnit, item whichItem) returns boolean
function UnitUseItemDestructable (unit whichUnit, item whichItem, widget target) returns boolean
native UnitUseItemPoint (unit whichUnit, item whichItem, real x, real y) returns boolean
function UnitUseItemPointLoc (unit whichUnit, item whichItem, location loc) returns boolean
native UnitUseItemTarget (unit whichUnit, item whichItem, widget target) returns boolean
native VersionCompatible (version whichVersion) returns boolean
native VersionSupported (version whichVersion) returns boolean
native WaitGetEnemyBase () returns boolean
native WaygateIsActive (unit waygate) returns boolean
function WaygateIsActiveBJ (unit waygate) returns boolean

BACK TO TOP

------------------------------------------------------------

Functions that take type boolean as a parameter (     common.j,      common.ai,      Blizzard.j):

native AddHeroXP (unit whichHero, integer xpToAdd, boolean showEyeCandy) returns nothing
function AddHeroXPSwapped (integer xpToAdd, unit whichHero, boolean showEyeCandy) returns nothing
native AddLightning (string codeName, boolean checkVisibility, real x1, real y1, real x2, real y2) returns lightning
native AddLightningEx (string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2) returns lightning
native AddUnitAnimationProperties (unit whichUnit, string animProperties, boolean add) returns nothing
function AddUnitAnimationPropertiesBJ (boolean add, string animProperties, unit whichUnit) returns nothing
function BasicExpansion (boolean build_it, integer unitid) ret