Functions

Math

 * Deg2Rad


 * Rad2Deg


 * Sin


 * SinBJ


 * Cos


 * CosBJ


 * Tan


 * TanBJ


 * Asin


 * AsinBJ


 * Acos


 * AcosBJ


 * Atan


 * AtanBJ


 * Atan2


 * Atan2BJ


 * SquareRoot


 * Pow


 * ModuloInteger


 * ModuloReal

Strings

 * I2R


 * R2I


 * I2S


 * R2S


 * R2SW


 * S2I


 * S2R


 * SubString


 * StringLength


 * StringCase

Map Settings

 * GetTeams


 * GetPlayers


 * IsGameTypeSupported


 * GetGameTypeSelected


 * IsMapFlagSet


 * GetGamePlacement


 * GetGameSpeed


 * GetGameDifficulty


 * GetResourceDensity


 * GetCreatureDensity


 * GetStartLocationX


 * GetStartLocationY


 * GetStartLocationLoc


 * GetPlayerTeam


 * GetPlayerStartLocation


 * GetPlayerColor


 * GetPlayerSelectable


 * GetPlayerController


 * GetPlayerSlotState


 * GetPlayerTaxRate


 * IsPlayerRacePrefSet


 * GetPlayerName

Timers

 * CreateTimer


 * DestroyTimer


 * TimerStart


 * TimerGetElapsed


 * TimerGetRemaining


 * TimerGetTimeout


 * PauseTimer


 * ResumeTimer


 * GetExpiredTimer

Groups (Unit Groups)

 * CreateGroup


 * DestroyGroup
 * GroupAddGroup


 * GroupAddUnit


 * GroupRemoveUnit


 * GroupClear


 * GroupEnumUnitsOfType


 * GroupEnumUnitsOfPlayer


 * GroupEnumUnitsOfTypeCounted


 * GroupEnumUnitsInRect


 * GroupEnumUnitsInRectCounted


 * GroupEnumUnitsInRange


 * GroupEnumUnitsInRangeOfLoc


 * GroupEnumUnitsInRangeCounted


 * GroupEnumUnitsInRangeOfLocCounted


 * GroupEnumUnitsSelected


 * GroupImmediateOrder


 * GroupImmediateOrderById


 * GroupPointOrder


 * GroupPointOrderLoc


 * GroupPointOrderById


 * GroupPointOrderByIdLoc


 * GroupTargetOrder


 * GroupTargetOrderById


 * ForGroup


 * FirstOfGroup

Forces (Player Groups)

 * CreateForce


 * DestroyForce


 * ForceAddPlayer


 * ForceRemovePlayer


 * ForceClear


 * ForceEnumPlayers


 * ForceEnumPlayersCounted


 * ForceEnumAllies


 * ForceEnumEnemies


 * ForForce

Rects and Locations

 * Rect


 * RectFromLoc


 * RemoveRect


 * SetRect


 * SetRectFromLoc


 * MoveRectTo


 * MoveRectToLoc


 * GetRectCenterX


 * GetRectCenterY


 * GetRectMinX


 * GetRectMinY


 * GetRectMaxX


 * GetRectMaxY


 * CreateRegion


 * RemoveRegion


 * RegionAddRect


 * RegionClearRect


 * RegionAddCell


 * RegionAddCellAtLoc


 * RegionClearCell


 * RegionClearCellAtLoc


 * Location


 * RemoveLocation


 * MoveLocation


 * GetLocationX


 * GetLocationY


 * GetLocationZ


 * IsUnitInRegion


 * IsPointInRegion


 * IsLocationInRegion


 * GetWorldBounds

Triggers

 * CreateTrigger


 * DestroyTrigger


 * ResetTrigger


 * EnableTrigger


 * DisableTrigger


 * IsTriggerEnabled


 * TriggerWaitOnSleeps


 * IsTriggerWaitOnSleeps


 * GetFilterUnit


 * GetEnumUnit


 * GetFilterDestructable


 * GetEnumDestructable


 * GetFilterItem


 * GetEnumItem


 * GetFilterPlayer


 * GetEnumPlayer


 * GetTriggeringTrigger


 * GetTriggerEventId


 * GetTriggerEvalCount


 * GetTriggerExecCount


 * ExecuteFunc

Boolean Expressions

 * And


 * Or


 * Not


 * Condition


 * DestroyCondition


 * Filter


 * DestroyFilter


 * DestroyBoolExpr

Events

 * TriggerRegisterVariableEvent


 * TriggerRegisterTimerEvent


 * TriggerRegisterTimerExpireEvent


 * TriggerRegisterGameStateEvent


 * TriggerRegisterDialogEvent


 * TriggerRegisterDialogButtonEvent


 * GetEventGameState


 * TriggerRegisterGameEvent


 * GetWinningPlayer


 * TriggerRegisterEnterRegion


 * GetTriggeringRegion


 * GetEnteringUnit


 * TriggerRegisterLeaveRegion


 * TriggerRegisterTrackableHitEvent


 * TriggerRegisterTrackableTrackEvent


 * GetTriggeringTrackable


 * GetClickedButton


 * GetClickedDialog


 * GetTournamentFinishSoonTimeRemaining


 * GetTournamentFinishNowRule


 * GetTournamentFinishNowPlayer


 * GetTournamentScore


 * GetSaveBasicFilename


 * TriggerRegisterPlayerEvent


 * GetTriggerPlayer


 * TriggerRegisterPlayerUnitEvent


 * GetLevelingUnit


 * GetLearningUnit


 * GetLearnedSkill


 * GetLearnedSkillLevel


 * GetRevivableUnit


 * GetRevivingUnit


 * GetAttacker


 * GetRescuer


 * GetDyingUnit


 * GetKillingUnit


 * GetDecayingUnit


 * GetSelectedUnit


 * GetConstructingStructure


 * GetCancelledStructure


 * GetConstructedStructure


 * GetResearchingUnit


 * GetResearched


 * GetTrainedUnitType


 * GetTrainedUnit


 * GetDetectedUnit


 * GetSummoningUnit


 * GetSummonedUnit


 * GetTransportUnit


 * GetLoadedUnit


 * GetSellingUnit


 * GetSoldUnit


 * GetBuyingUnit


 * GetSoldItem


 * GetChangingUnit


 * GetChangingUnitPrevOwner


 * GetManipulatingUnit


 * GetManipulatedItem


 * GetOrderedUnit


 * GetIssuedOrderId


 * GetOrderPointX


 * GetOrderPointY


 * GetOrderPointLoc


 * GetOrderTarget


 * GetOrderTargetDestructable


 * GetOrderTargetItem


 * GetOrderTargetUnit


 * GetSpellAbilityUnit


 * GetSpellAbilityId


 * GetSpellAbility


 * GetSpellTargetLoc


 * GetSpellTargetDestructable


 * GetSpellTargetItem


 * GetSpellTargetUnit


 * TriggerRegisterPlayerAllianceChange


 * TriggerRegisterPlayerStateEvent


 * GetEventPlayerState


 * TriggerRegisterPlayerChatEvent


 * GetEventPlayerChatString


 * GetEventPlayerChatStringMatched


 * TriggerRegisterDeathEvent


 * GetTriggerUnit


 * TriggerRegisterUnitStateEvent


 * GetEventUnitState


 * TriggerRegisterUnitEvent


 * GetEventDamage


 * GetEventDamageSource


 * GetEventDetectingPlayer


 * TriggerRegisterFilterUnitEvent


 * GetEventTargetUnit


 * TriggerRegisterUnitInRange

Triggers

 * TriggerAddCondition


 * TriggerRemoveCondition


 * TriggerClearConditions


 * TriggerAddAction


 * TriggerRemoveAction


 * TriggerClearActions


 * TriggerSleepAction


 * TriggerWaitForSound


 * TriggerEvaluate


 * TriggerExecute


 * TriggerExecuteWait


 * TriggerSyncStart


 * TriggerSyncReady

Widgets

 * GetWidgetLife


 * SetWidgetLife


 * GetWidgetX


 * GetWidgetY


 * GetTriggerWidget

Destructables

 * CreateDestructable


 * CreateDestructableZ


 * CreateDeadDestructable


 * CreateDeadDestructableZ


 * RemoveDestructable


 * KillDestructable


 * SetDestructableInvulnerable


 * IsDestructableInvulnerable


 * EnumDestructablesInRect


 * GetDestructableTypeId


 * GetDestructableX


 * GetDestructableY


 * SetDestructableLife


 * GetDestructableLife


 * SetDestructableMaxLife


 * GetDestructableMaxLife


 * DestructableRestoreLife


 * QueueDestructableAnimation


 * SetDestructableAnimation


 * SetDestructableAnimationSpeed


 * ShowDestructable


 * GetDestructableOccluderHeight


 * SetDestructableOccluderHeight


 * GetDestructableName

Items

 * CreateItem


 * RemoveItem


 * GetItemPlayer


 * GetItemTypeId


 * GetItemX


 * GetItemY


 * SetItemPosition


 * SetItemDropOnDeath


 * SetItemDroppable


 * SetItemPawnable


 * SetItemPlayer


 * SetItemInvulnerable


 * IsItemInvulnerable


 * SetItemVisible


 * IsItemVisible


 * IsItemOwned


 * IsItemPowerup


 * IsItemSellable


 * IsItemPawnable


 * IsItemIdPowerup


 * IsItemIdSellable


 * IsItemIdPawnable


 * EnumItemsInRect


 * GetItemLevel


 * GetItemType


 * SetItemDropID


 * GetItemName


 * GetItemCharges


 * SetItemCharges


 * GetItemUserData


 * SetItemUserData

Units

 * CreateUnit


 * CreateUnitByName


 * CreateUnitAtLoc


 * CreateUnitAtLocByName


 * CreateCorpse


 * KillUnit


 * RemoveUnit


 * ShowUnit


 * SetUnitState


 * SetUnitX


 * SetUnitY


 * SetUnitPosition


 * SetUnitPositionLoc


 * SetUnitFacing


 * SetUnitFacingTimed


 * SetUnitMoveSpeed


 * SetUnitFlyHeight


 * SetUnitTurnSpeed


 * SetUnitPropWindow


 * SetUnitAcquireRange


 * SetUnitCreepGuard


 * GetUnitAcquireRange


 * GetUnitTurnSpeed


 * GetUnitPropWindow


 * GetUnitFlyHeight


 * GetUnitDefaultAcquireRange


 * GetUnitDefaultTurnSpeed


 * GetUnitDefaultPropWindow


 * GetUnitDefaultFlyHeight


 * SetUnitOwner


 * SetUnitColor


 * SetUnitScale


 * SetUnitTimeScale


 * SetUnitBlendTime


 * SetUnitVertexColor


 * QueueUnitAnimation


 * SetUnitAnimation


 * SetUnitAnimationByIndex


 * SetUnitAnimationWithRarity


 * AddUnitAnimationProperties


 * SetUnitLookAt


 * ResetUnitLookAt


 * SetUnitRescuable


 * SetUnitRescueRange


 * SetHeroStr


 * SetHeroAgi


 * SetHeroInt


 * GetHeroStr


 * GetHeroAgi


 * GetHeroInt


 * UnitStripHeroLevel


 * GetHeroXP


 * SetHeroXP


 * GetHeroSkillPoints


 * UnitModifySkillPoints


 * AddHeroXP


 * SetHeroLevel


 * GetHeroLevel


 * GetUnitLevel


 * GetHeroProperName


 * SuspendHeroXP


 * IsSuspendedXP


 * SelectHeroSkill


 * GetUnitAbilityLevel


 * DecUnitAbilityLevel


 * IncUnitAbilityLevel


 * SetUnitAbilityLevel


 * ReviveHero


 * ReviveHeroLoc


 * SetUnitExploded


 * SetUnitInvulnerable


 * PauseUnit


 * IsUnitPaused


 * SetUnitPathing


 * ClearSelection


 * SelectUnit


 * GetUnitPointValue


 * GetUnitPointValueByType


 * UnitAddItem


 * UnitAddItemById


 * UnitAddItemToSlotById


 * UnitRemoveItem


 * UnitRemoveItemFromSlot


 * UnitHasItem


 * UnitItemInSlot


 * UnitInventorySize


 * UnitDropItemPoint


 * UnitDropItemSlot


 * UnitDropItemTarget


 * UnitUseItem


 * UnitUseItemPoint


 * UnitUseItemTarget


 * GetUnitX


 * GetUnitY


 * GetUnitLoc


 * GetUnitFacing


 * GetUnitMoveSpeed


 * GetUnitDefaultMoveSpeed


 * GetUnitState


 * GetOwningPlayer


 * GetUnitTypeId


 * GetUnitRace


 * GetUnitName


 * GetUnitFoodUsed


 * GetUnitFoodMade


 * GetFoodMade


 * GetFoodUsed


 * SetUnitUseFood


 * GetUnitRallyPoint


 * GetUnitRallyUnit


 * GetUnitRallyDestructable


 * IsUnitInGroup


 * IsUnitInForce


 * IsUnitOwnedByPlayer


 * IsUnitAlly


 * IsUnitEnemy


 * IsUnitVisible


 * IsUnitDetected


 * IsUnitInvisible


 * IsUnitFogged


 * IsUnitMasked


 * IsUnitSelected


 * IsUnitRace


 * IsUnitType


 * IsUnit


 * IsUnitInRange


 * IsUnitInRangeXY


 * IsUnitInRangeLoc


 * IsUnitHidden


 * IsUnitIllusion


 * IsUnitInTransport


 * IsUnitLoaded


 * IsHeroUnitId


 * IsUnitIdType


 * UnitShareVision


 * UnitSuspendDecay


 * UnitAddType


 * UnitRemoveType


 * UnitAddAbility


 * UnitRemoveAbility


 * UnitMakeAbilityPermanent


 * UnitRemoveBuffs


 * UnitRemoveBuffsEx


 * UnitHasBuffsEx


 * UnitCountBuffsEx


 * UnitAddSleep


 * UnitCanSleep


 * UnitAddSleepPerm


 * UnitCanSleepPerm


 * UnitIsSleeping


 * UnitWakeUp


 * UnitApplyTimedLife


 * UnitIgnoreAlarm


 * UnitIgnoreAlarmToggled


 * UnitResetCooldown


 * UnitSetConstructionProgress


 * UnitSetUpgradeProgress


 * UnitPauseTimedLife


 * UnitSetUsesAltIcon


 * UnitDamagePoint


 * UnitDamageTarget


 * IssueImmediateOrder


 * IssueImmediateOrderById


 * IssuePointOrder


 * IssuePointOrderLoc


 * IssuePointOrderById


 * IssuePointOrderByIdLoc


 * IssueTargetOrder


 * IssueTargetOrderById


 * IssueInstantPointOrder


 * IssueInstantPointOrderById


 * IssueInstantTargetOrder


 * IssueInstantTargetOrderById


 * IssueBuildOrder


 * IssueBuildOrderById


 * IssueNeutralImmediateOrder


 * IssueNeutralImmediateOrderById


 * IssueNeutralPointOrder


 * IssueNeutralPointOrderById


 * IssueNeutralTargetOrder


 * IssueNeutralTargetOrderById


 * GetUnitCurrentOrder


 * SetResourceAmount


 * AddResourceAmount


 * GetResourceAmount


 * WaygateGetDestinationX


 * WaygateGetDestinationY


 * WaygateSetDestination


 * WaygateActivate


 * WaygateIsActive


 * AddItemToAllStock


 * AddItemToStock


 * AddUnitToAllStock


 * AddUnitToStock


 * RemoveItemFromAllStock


 * RemoveItemFromStock


 * RemoveUnitFromAllStock


 * RemoveUnitFromStock


 * SetAllItemTypeSlots


 * SetAllUnitTypeSlots


 * SetItemTypeSlots


 * SetUnitTypeSlots


 * GetUnitUserData


 * SetUnitUserData