List of Built-In Functions

Below is a list of all usable functions included in the built-in library. Feel free to add documentation to any of the functions.

Game
EventChatMessage - Chat String GamePlayTime - Game Play Time GameAttributePlayerValue - Attribute Player Value GameTerrainSet - Map Texture Set GameIsTransitionMap - Game Is Transitioned GameGetChargeRegen - Game Charge Regen GameGetChargeUsed - Game Charge Used GameGetSpeedValue - Game Speed GameIsTestMap - Game Is Test GameMapDescription - Map Description GameGetCooldown - Game Cooldown GameGetSpeed - Game Speed Factor GameAttributeGameValue - Attribute Game Value GameIsSpeedLocked - Game Speed Is Locked GameIsDebugOptionSet - Game Is Debug Option Set GameIsSeedLocked - Random Seed Is Locked GameGetSpeedValueMinimum - Game Speed Minimum GameMapName - Map Name

Unit Selection
UnitIsSelected - Unit Is Selected UnitGroupSelected - Selected Units

Trigger
TriggerIsEnabled - Trigger Is On TriggerGetEvalCount - Trigger Evaluation Count TriggerGetExecCount - Trigger Execution Count TriggerEvaluate - Evaluate Trigger Conditions TriggerGetCurrent - Current Trigger TriggerQueueIsEmpty - Action Queue Is Empty

Region
RegionEmpty - Empty Region RegionRect - Convert Rectangle To Region RegionCircle - Convert Circle To Region RegionContainsPoint - Point Is In Region RegionGetBoundsMin - Bottom-Left Of Region Bounds RegionGetBoundsMax - Top-Right Of Region Bounds RegionGetCenter - Center Of Region RegionGetOffset - Offset Of Region RegionEntireMap - Entire Map RegionRandomPoint - Random Point In Region RegionPlayableMap - Playable Map Area RegionGetAttachUnit - Unit Attached To Region WidthOfRegion - Width Of Region HeightOfRegion - Height Of Region

General
IntLoopCurrent - Picked Integer

Bank
BankLastCreated - Last Opened Bank BankExists - Bank Exists BankName - Bank Name BankSectionCount - Bank Section Count BankSectionName - Bank Section Name BankKeyCount - Bank Key Count BankKeyName - Bank Key Name BankSectionExists - Bank Section Exists BankKeyExists - Bank Key Exists BankValueIsType - Bank Value Is Type BankValueGetAsFixed - Load Real Value BankValueGetAsFlag - Load Boolean Value BankValueGetAsInt - Load Integer Value BankValueGetAsString - Load String Value BankLastRestoredUnit - Last Restored Unit BankValueGetAsText - Load Text Value BankPlayer - Bank Player BankValueGetAsPoint - Load Point Value

AI
AIGetUnitsInWavesWithTarget - Units In Waves With Target AIRandomSpawnPoint - Random Spawn Point AIIsScriptControlled - Unit Is Script Controlled DifficultyIstwo - Difficulty Is (two) AIWaveGetUnits - Units Of Wave DifficultyHigh - Difficulty High WaveLastCreated - Last Created Wave DifficultyValueInt - Difficulty Value (Integer) DifficultyValueFixed - Difficulty Value (Real) AIUnitGetWave - Wave Of Unit AIGetAllEscortsGroup - Escorts Of Unit Group AIIsNotUsableInWaves - Unit Is Unavailable For Wave Use DifficultyValueUnitType - Difficulty Value (Unit Type) DifficultyIsone - Difficulty Is (one) AIGetAllEscorts - Escorts Of Unit AITimeIsPaused - AI Time Is Paused DifficultyLow - Difficulty Low AIIsSuicideUnit - Unit Is Suicidal

UI
ResearchItemIsRecentlyPurchased - Research Item Is Recently Purchased EventCustomDialogResult - Custom Dialog Result _BB_HPBorderWidth - _BB_HPBorderWidth _BB_HPBarHeight - _BB_HPBarHeight MercenaryIsRecentlyPurchased - Mercenary Is Recently Purchased EventGameMenuItemSelected - Game Menu Item Selected _BB_PortraitBorderHeight - _BB_PortraitBorderHeight _BB_TitleBarHeight - _BB_TitleBarHeight _BB_TitleBarWidth - _BB_TitleBarWidth _BB_HPBarFormatLabel - _BB_HPBarFormatLabel _BB_PortraitWidth - _BB_PortraitWidth _BB_HPBorderHeight - _BB_HPBorderHeight _BB_PortraitHeight - _BB_PortraitHeight _BB_HPBarCurrentWidth - _BB_HPBarCurrentWidth _BB_HPBarWidth - _BB_HPBarWidth UIFrameVisible - UI Frame Is Visible _BB_PortraitBorderWidth - _BB_PortraitBorderWidth FormatTipTitle - Format Tip Title

Unit
UnitLastCreated - Last Created Unit UnitGetType - Unit Type UnitGetOwner - Owner Of Unit UnitGetPosition - Position Of Unit UnitGetFacing - Facing Angle Of Unit EventUnit - Triggering Unit EventUnitRegion - Triggering Region EventUnitDamageAmount - Triggering Damage Amount EventUnitDamageSourceUnit - Damaging Unit EventUnitDamageSourcePlayer - Damaging Player EventUnitDamageSourcePoint - Damage Source Position EventUnitOrder - Triggering Order UnitLastCreatedGroup - Last Created Units UnitMoverExists - Unit Uses Mover UnitAbilityExists - Unit Has Ability UnitAbilityCheck - Ability Enabled For Unit UnitTestState - Unit Classification Check EventUnitCargo - Triggering Cargo Unit UnitMagazineCount - Magazine Count Of Unit UnitIsAlive - Unit Is Alive UnitCargo - Cargo Unit In Transport UnitCargoGroup - Cargo Units In Transport EventUnitDamageDeathCheck - Triggering Death Type Check EventUnitProgressObjectType - Triggering Progress Behavior EventUnitProgressObjectType - Triggering Progress Upgrade EventUnitProgressObjectType - Triggering Progress Unit Type EventUnitAbilityStage - Triggering Ability Stage EventUnitTargetPoint - Triggering Ability Target Point EventUnitTargetUnit - Triggering Ability Target Unit EventUnitAbility - Triggering Ability UnitTestPlane - Unit Targetable Check UnitLevel - Experience Level Of Unit EventUnitXPDelta - Triggering Experience Gained UnitXPTotal - Total Experience Of Unit EventUnitBehavior - Triggering Behavior UnitFilterGetState - State Of Unit Filter UnitAbilityCount - Number Of Abilities On Unit UnitAbilityGet - Unit Ability UnitBehaviorCount - Stack Count Of Behavior On Unit UnitBehaviorGet - Unit Behavior UnitQueueItemCount - Number Of Items In Training Queue Slot UnitQueueItemTypeCheck - Training Queue Slot Type Check EventUnitProgressUnit - Triggering Progress Unit UnitIsVisibleToPlayer - Unit Is Visible To Player UnitQueueItemTime - Training Queue Time EventUnitCreatedBehavior - Behavior That Created Unit UnitGetPropertyResources - Unit Resources UnitInventoryLastCreated - Last Created Inventory Item UnitGroupIsDead - Unit Group Is Dead UnitIsInsideTransport - Unit Is Cargo UnitAbilityGetLevel - Current Level For Unit Ability UnitAbilityGetChargeUsed - Charge Used For Unit Ability UnitCargoValue - Transport Property Of Unit LastReplacedUnit - Last Replaced Unit EventUnitCreatedUnit - Created Unit UnitIsValid - Unit Is Valid UnitOrder - Unit Order UnitCheckProgressState - Unit Progress Bar Check UnitBehaviorGetCooldown - Cooldown For Unit Behavior UnitBehaviorHasFlag - Behavior Has Flag UnitInRegion - Unit In Region EventUnitAttributePoints - Triggering Attribute Points UnitBehaviorCountAll - Number Of Behaviors On Unit UnitIsUnderConstruction - Unit Is Under Construction EventKeyControl - Control Key Pressed UnitOrderIsValid - Unit Order Is Valid UnitWeaponCheck - Weapon Target Check UnitWeaponCount - Unit Weapon Count UnitRallyPointTargetPoint - Unit Rally Point Target Point UnitQueueItemGet - Queued Unit Type In Training Queue Slot UnitFilterMatch - Unit Filter Match UnitAbilityChargeInfo - Ability Charge Info For Unit ConvertTargetFilterStringToUnitFilter - Convert Target Filter String To Unit Filter UnitCanAttackUnit - Unit Can Attack Unit UnitRallyPoint - Unit Rally Point EventMouseClickedPosXUI - Mouse Clicked UI Pos X UnitQueueGetProperty - Training Queue Property Of Unit EventMouseClickedPosYWorld - Mouse Clicked World Pos Y UnitAbilityMaxLevel - Maximum Level For Unit Ability EventMouseClickedPosZWorld - Mouse Clicked World Pos Z UnitTypeIsAffectedByUpgrade - Unit Type Is Affected By Upgrade UnitIsHidden - Unit Is Hidden EventUnitTarget - Attacking Unit UnitAgent - Agent Of Player For Unit UnitTypeGetName - Name Of Unit Type UnitQueueItemGet - Queued Behavior Type In Training Queue Slot UnitAbilityGetCooldown - Cooldown For Unit Abilty EventMouseClickedButton - Mouse Clicked Button EventUnitCreatedAbil - Ability That Created Unit UnitTypeGetProperty - Unit Type Property UnitBehaviorEnabled - Unit Behavior Enabled UnitGetPropertyKills - Unit Kills UnitWeaponCount - Number Of Weapons On Unit UnitTypeTestAttribute - Unit Type Attribute Check UnitGetCustomValue - Custom Value Of Unit UnitIsPaused - Unit Is Paused EventMouseClickedPosYUI - Mouse Clicked UI Pos Y UnitRallyPointTargetCount - Unit Rally Point Target Count UnitWeaponPeriod - Weapon Cooldown UnitWeaponIsEnabled - Weapon Is Enabled UnitBehaviorGetChargeRegen - Charge Regen For Unit Behavior UnitGetProgressComplete - Unit Progress (Percent) UnitTypeFromString - Unit Type From String EventButtonPressed - Button Pressed UnitTypeTestFlag - Unit Type Classification Check EventKeyAlt - Alt Key Pressed UnitHasBehavior - Unit Has Behavior UnitAbilityGetChargeRegen - Charge Regen For Unit Ability EventUnitDamageSourceUnit - Killing Unit UnitInventoryItem - Item Carried In Slot UnitInventoryCount - Inventory Item Count UnitInventoryGroup - Items Carried UnitQueueItemGet - Queued Upgrade Type In Training Queue Slot UnitGetHeight - Height Of Unit UnitGetChargeRegen - Charge Regen For Unit UnitGetPropertyFixed - Unit Property EventUnitDamageSourcePlayer - Killing Player UnitGetChargeUsed - Charge Used For Unit EventKeyPressed - Key Pressed UnitOrderCount - Unit Order Count UnitCargoLastCreatedGroup - Last Created Cargo Units EventMouseClickedPosXWorld - Mouse Clicked World Pos X UnitTypeGetCost - Unit Type Cost EventKeyShift - Shift Key Pressed UnitGetAttachmentPoint - Unit Attachment Point EventUnitTarget - Acquired Target UnitRallyPointTargetUnit - Unit Rally Point Target Unit EventUnitDamageEffect - Damaging Effect UnitWeaponGet - Unit Weapon UnitMoverExists - Unit Type Uses Mover UnitGetCooldown - Cooldown For Unit UnitIsInvulnerable - Unit Is Invulnerable EventUnitPowerupUnit - Triggering Powerup UnitRallyPointCount - Unit Rally Point Count UnitTransport - Transport Of Unit UnitCheckAbilCmdState - Unit Ability Command State UnitBehaviorGetChargeUsed - Charge Used For Unit Behavior UnitCargoLastCreated - Last Created Cargo Unit

Camera
CameraInfoDefault - Default Game Camera CameraInfoGetValue - Camera Object Property CameraInfoGetTarget - Camera Object Target EventCameraMoveReason - Camera Move Reason CopyOfCameraObject - Copy Of Camera Object CameraGetYaw - Camera Yaw of Player CameraGetPitch - Camera Pitch of Player CameraGetTarget - Camera Target Of Player

Player
PlayerGetPropertyInt - Player Property EventPlayer - Triggering Player PlayerStartLocation - Start Location Of Player PlayerRace - Race Of Player PlayerGetAlliance - Alliance Aspect PlayerGetState - Player Flag Check PlayerGetCooldown - Player Cooldown DifficultyEnabled - Difficulty Level Is Enabled PlayerDifficulty - Difficulty Level For Player DifficultyNameCampaign - Name Of Campaign Difficulty Level DifficultyAPM - APM Of Difficulty Level PlayerGetChargeRegen - Player Charge Regen PlayerGetColorIndex - Player Color DifficultyName - Name Of Difficulty Level PlayerGetChargeUsed - Player Charge Used EventPlayerProperty - Triggering Player Property PlayerType - Controller Of Player PlayerName - Name Of Player PlayerIsEnemy - Player Is Enemy PlayerStatus - Status Of Player

Sound
SoundLinkAsset - Sound Asset Index SoundLinkId - Sound ID SoundSubtitleText - Sound Subtitle Text SoundLengthSync - Sound Duration SoundLastPlayed - Last Played Sound SoundLink - Sound Link

String
StringLength - String Length StringCase - Convert String Case StringSub - Substring StringEqual - String Comparison StringContains - String Containment CombineStringsMult - Combine Strings Multiple CombineStrings - Combine Strings StringReplaceWord - String With Search Replacement TextTimeFormat - Convert Time To Text StringFind - Position Of Substring CombineTextMultiple - Combine Text Multiple CombineText - Combine Text TextCase - Convert Text Case StringWord - Word Of String StringReplace - String With Indexed Replacement StringExternal - Convert Game Text TextWithColor - Text With Color TextReplaceWord - Text With Search Replacement

Timer
TimerGetElapsed - Elapsed Time Of Timer TimerGetRemaining - Remaining Time Of Timer TimerGetDuration - Duration Of Timer TimerCreate - New Timer TimerIsPaused - Timer Is Paused TimerWindowLastCreated - Last Created Timer Window EventTimer - Triggering Timer TimerWindowVisible - Timer Window Is Visible TimerLastStarted - Last Started Timer

Visibility
VisIsEnabled - Visibility Is Enabled VisRevealerLastCreated - Last Created Revealer

AI Advanced
AIWaveCreate - Create Wave AIWaveInfoCreate - Create Wave Info AIWaveTargetUnitPoint - Wave Target Unit Point AIWaveTargetUnit - Wave Target Unit AIWaveTargetPlayer - Wave Target Player AIGetMinPeonCount - Get Min Desired Harvest Peon Count AIWaveEval - Wave Eval AICombatDiffFlagCatSplashHighPrio - Combat Diff Flag Splash High Priority AIDefaultGetFirstUnfinishedReq - Default/Code Get First Unfinished Req AIIsTownHarvestRunning - Is Town Harvesting AICombatDiffFlagTieBreakInjured - Combat Diff Flag Injured AICombatDiffFlagTieBreakDetector - Combat Diff Flag Detector AIWaveTargetEscort - Wave Target Region AIGetGatherDefLocation - Get Defense Gather Location AIGetFullMakeTime - Script Get Full Make Time AIFindUnits - Find Units AIWaveTargetGatherO - Wave Target Gather Offense AIDefaultGetMaker - Default/Code Get Maker AIGetMaxPeonCount - Get Max Desired Harvest Peon Count AIWaveTargetMerge - Wave Target Merge AIWaveEvalRatio - Wave Eval Ratio AIWaveTargetUnitGroup - Wave Target UnitGroup AICombatDiffFlagTieBreakRange - Combat Diff Flag Siege Range AICombatDiffFlagTieBreakLowHP - Combat Diff Flag Low Health AIGetRawGasNumSpots - Get Num RawGas Spots AIWaveHarassRetreat - Wave Target Harass Retreat AIControlWantsToMove - Get Wants To Move Status AIWaveTargetPoint - Wave Target Point AILastAttacker - Last Attacker AIWaveTargetMelee - Wave Target Melee AIGetFilterGroup - Tactical AI Filter - Run AIGetGasAmountLeft - Get Gas Amount Left AIDefaultGetFullMakeTime - Default/Code Get Full Make Time AIExpand - Expand AIGetDefaultBuildFlags - Get Default Build Flags AIWaveState - Wave State AIWaveTimeInCombat - Wave Time In Combat AIGetTownThreats - Get Town Threats AICombatDiffFlagCatSortBuildingsPrio - Combat Diff Flag Sort Buildings Priority AIGrabUnit - Grab Unit AIGetBuildingCountInTown - Get Building Count In Town AIGetMineralNumSpots - Get Num Mineral Spots AIDefaultGetFirstMissingReq - Default/Code Get First Missing Req AIWaveTargetMeleeHarass - Wave Target Melee Harass AIMarker - Tactical AI Filter - Create Marker AIState - Get State AICombatDiffFlagCatWorkersNormalPrio - Combat Diff Flag Workers Normal Priority AIGetClosestTown - Get Closest Town AIGetFirstMissingReq - Script Get First Missing Req AIGetGatherLocation - Get Offense Gather Location AIWaveType - Wave Type AICombatDiffFlagCatSpecialHighPrio - Combat Diff Flag Special High Priority AIDefaultCombatPriority - Get Default Combat Priority AIWaveIsInCombat - Is Wave In Combat AIEvalRatio - Eval Ratio AIGetCurPeonCount - Get Current Harvest Peon Count AISameCommand - Same Command AIPathingCostMap - AI Pathing Cost Map AIKnownUnitCount - Known Unit Count AIGetCloakedAttacker - Get Cloaked Attacker AICombatDiffFlagTieBreakBonusDamage - Combat Diff Flag Bonus Damage AIGetTownState - Get Town State AILastAttack - Last Attack AIGetFlag - Get Flag AIFilter - Tactical AI Filter - Create Filter AIGetBaseName - Get Base Name AIGetBestTarget - Get Best Attack Target Point UnitGetAIOption - Unit Has AI Option AIWaveTargetGatherD - Wave Target Gather Defense AIWaveGet - Wave Get AIGetMaker - Script Get Maker AIHasRes - Player Has Resources AIWaveToText - Wave To Text AICombatDiffFlagTieBreakHealers - Combat Diff Flag Healers AIWaveTimeSinceOrdered - Wave Time Since Ordered AIWaveTargetEscort - Wave Target Escort AIGetObjectType - Script Get Object Type AIWaveTargetEscortNL - Wave Target Escort No Leash AICombatDiffFlagCatTimedLowPrio - Combat Diff Flag Timed Low Priority AIGivingUp - Wants To Surrender AIWaveTargetPatrol - Wave Target Patrol AIGetBuildAtName - Get BuildAt Name AIGetNextScoutLoc - Get Next Scout Location AIWaveGetTarget - Wave Get Target AIIsCampaign - Is Campaign AI AIGetScout - Get Scout AIWaveToString - Wave To String AIDefaultGetObjectType - Default/Code Get Object Type AIGetFirstUnfinishedReq - Script Get First Unfinished Req AIWaveUnitCount - Wave Unit Count AIGetDifficulty - Get Difficulty Parameter AITechCount - Tech Count AIGetNextUnusedTownSlot - Get Next Unused Town Slot AIPathingCostUnit - AI Pathing Cost Unit AIBestTargetPoint - Get Best Target Point On Group AIGetMineralAmountLeft - Get Mineral Amount Left AIGetTownLocation - Get Town Location AIWaveInfo - Create Wave Info From Wave AIWaveTimeSinceCombat - Wave Time Since Combat AIIsIgnoredByWave - Is Ignored By Wave

Data Table
DataTableGetActor - Value From Data Table (Actor) DataTableGetBank - Value From Data Table (Bank) DataTableGetPlanet - Value From Data Table (Planet) DataTableGetControl - Value From Data Table (Control) DataTableGetAIFilter - Value From Data Table (AI Filter) DataTableGetActorScope - Value From Data Table (Actor Scope) DataTableGetInt - Value From Data Table (Integer) DataTableValueCount - Number Of Data Table Values DataTableGetAbilCmd - Value From Data Table (Ability Command) DataTableGetUnit - Value From Data Table (Unit) DataTableGetPoint - Value From Data Table (Point) DataTableGetPortrait - Value From Data Table (Portrait) DataTableGetText - Value From Data Table (Text) DataTableGetPlayerGroup - Value From Data Table (Player Group) DataTableGetWaveTarget - Value From Data Table (Wave Target) DataTableGetReply - Value From Data Table (Conversation Reply) DataTableGetColor - Value From Data Table (Color) DataTableGetUnitRef - Value From Data Table (Unit Reference) DataTableValueExists - Data Table Value Exists DataTableGetSound - Value From Data Table (Sound) DataTableGetObjective - Value From Data Table (Objective) DataTableValueName - Name Of Data Table Value DataTableGetRoom - Value From Data Table (Room Button) DataTableGetBool - Value From Data Table (Boolean) DataTableGetTimer - Value From Data Table (Timer) DataTableGetRegion - Value From Data Table (Region) DataTableGetUnitGroup - Value From Data Table (Unit Group) DataTableGetMarker - Value From Data Table (Marker) DataTableGetByte - Value From Data Table (Byte) DataTableGetUnitFilter - Value From Data Table (Unit Filter) DataTableGetWaveInfo - Value From Data Table (Wave Info) DataTableGetRevealer - Value From Data Table (Revealer) DataTableGetDialog - Value From Data Table (Dialog) DataTableGetTransmission - Value From Data Table (Transmission) DataTableGetCameraInfo - Value From Data Table (Camera Object) DataTableGetCinematic - Value From Data Table (Cinematic) DataTableGetPing - Value From Data Table (Ping) DataTableGetConversation - Value From Data Table (Conversation) DataTableGetSoundLink - Value From Data Table (Sound Link) DataTableGetDoodad - Value From Data Table (Doodad) DataTableGetString - Value From Data Table (String) DataTableGetOrder - Value From Data Table (Order) DataTableValueType - Type Of Data Table Value DataTableGetTrigger - Value From Data Table (Trigger) DataTableGetWave - Value From Data Table (Wave) DataTableGetTransmissionSource - Value From Data Table (Transmission Source) DataTableGetFixed - Value From Data Table (Real)

Catalog
CatalogEntryCount - Catalog Entry Count CatalogEntryGet - Catalog Entry Get CatalogEntryParent - Catalog Entry Parent CatalogEntryScope - Catalog Entry Scope CatalogFieldCount - Catalog Field Count CatalogFieldGet - Catalog Field Get CatalogFieldValueGet - Catalog Field Value Get CatalogFieldType - Catalog Field Type CatalogEntryClass - Catalog Entry Class CatalogFieldValueCount - Catalog Field Value Count CatalogFieldIsScope - Catalog Field Is Scope CostOfAbility - Cost Of Ability CatalogFieldIsArray - Catalog Field Is Array AbilityClass - Class Of Ability CatalogEntryIsValid - Catalog Entry Is Valid

Portrait
FullscreenPortrait - Fullscreen Portrait PortraitLastCreated - Last Created Portrait CinematicPortrait - Cinematic Portrait PortraitGetPlanetPanel - Planet Panel Portrait PortraitGetGame - Game Portrait PortraitVisible - Portrait Is Visible

Starmap
PlanetGetSelected - Selected Planet EventPlanetPanelMissionSelected - Clicked Planet PlanetLastCreated - Last Created Planet PlanetPanelGetContactButtonState - Planet Panel Contact Button State

Transmission
TransmissionSourceFromUnit - Unit Transmission Source TransmissionSourceFromMovie - Movie Transmission Source TransmissionSourceFromModel - Model Transmission Source TransmissionSource - No Transmission Source TransmissionSourceFromUnitType - Unit Type Transmission Source TransmissionLastSent - Last Sent Transmission

Ping
PingGetPlayerGroup - Ping Players PingGetPosition - Position Of Ping PingGetUnit - Ping Unit PingGetRotation - Facing Angle Of Ping PingLastCreated - Last Created Ping PingGetTooltip - Ping Tooltip PingGetScale - Ping Scale PingIsVisible - Ping Is Visible PingGetColor - Color Of Ping PingGetDuration - Duration of Ping

Uncategorized
PlayerScoreValueGetAsFixed - Player Score Value PlayerScoreValueGetAsInt - Player Score Value

Point
Point - Point From XY PointWithOffset - Point With Offset PointGetX - X Of Point PointGetY - Y Of Point AngleBetweenPoints - Angle Between Points DistanceBetweenPoints - Distance Between Points PointWithOffsetPolar - Point With Polar Offset RandomPointBetweenPoints - Random Point Between Points PointPathingCost - Pathing Cost Between Points PointGetHeight - Height Of Point PointPathingIsConnected - Points Connected By Pathing PointPathingPassable - Point Is Passable PointFromXYZ - Point From XYZ PointGetFacing - Facing Angle Of Point PointReflect - Reflected Point PointOffsetTowardsPoint - Point Offset Towards Point PointWithZOffset - Point With Z Offset PointFromPositionAndAngle - Point Facing Angle

Environment
CreepAdjacent - Creep Adjacent CreepIsPresent - Creep Is Present PowerLevel - Power Level PowerIsProvidedBy - Power Is Provided By GameTimeOfDayGet - Current Time Of Day GameTimeOfDayIsPaused - Time Of Day Is Paused GameTimeOfDayGetLength - Day Length UnitCanCreateEffectAtPoint - Unit Can Create Effect At Point PlayerCanCreateEffectOnUnit - Player Can Create Effect On Unit WorldHeight - Height At Point PlayerValidateEffectUnit - Validate Player Can Create Effect On Unit CliffLevel - Cliff Level Of Point UnitCanCreateEffectOnUnit - Unit Can Create Effect On Unit UnitValidateEffectUnit - Validate Unit Can Create Effect On Unit PlayerValidateEffectPoint - Validate Player Can Create Effect At Point PlayerCanCreateEffectAtPoint - Player Can Create Effect At Point PointPathingCliffLevel - Cliff Level Of Point UnitValidateEffectPoint - Validate Unit Can Create Effect At Point

Dialog
DialogControlGetPropertyAsControl - Dialog Item Control Value DialogItemMaximumValue - Dialog Item Maximum Value DialogControlGetSelectedItem - Selected List Item DialogGetRelativeAnchor - Dialog Relative Anchor ScreenImageDialogItem - Screen Image Dialog Item DialogIsOffscreen - Dialog Is Offscreen DialogItemMinimumValue - Dialog Item Minimum Value DialogControlGetPropertyAsColor - Dialog Item Color Value DialogLastCreated - Last Created Dialog DialogControlIsVisible - Dialog Item Is Visible EventDialogControl - Used Dialog Item DialogControlGetPropertyAsString - Dialog Item String Value DialogControlGetPropertyAsText - Dialog Item Text Value DialogGetAnchor - Dialog Anchor DialogGetTransparency - Dialog Transparency DialogGetOffsetY - Dialog Offset Y ScreenImageDialog - Screen Image Dialog DialogControlLastCreated - Last Created Dialog Item DialogControlGetRelativeAnchor - Dialog Item Relative Anchor DialogItemTooltip - Dialog Item Tooltip DialogItemStyle - Dialog Item Style DialogGetRelativeDialog - Relative Dialog DialogItemIsChecked - Dialog Item Is Checked DialogControlGetOffsetY - Dialog Item Offset Y DialogItemImage - Dialog Item Image DialogGetHeight - Dialog Height ScreenButton - Screen Button DialogControlGetType - Dialog Item Type DialogControlIsFullDialog - Dialog Item Is Full Dialog DialogControlGetPropertyAsBool - Dialog Item Boolean Value DialogControlGetRelativeControl - Relative Dialog Item DialogGetTitle - Dialog Title DialogControlGetPropertyAsFixed - Dialog Item Real Value DialogGetImage - Dialog Background Image DialogGetOffsetX - Dialog Offset X DialogIsVisible - Dialog Is Visible DialogItemValue - Dialog Item Current Value DialogControlGetOffsetX - Dialog Item Offset X DialogItemImageType - Dialog Item Image Type DialogIsFullscreen - Dialog Is Fullscreen DialogIsModal - Dialog Is Modal DialogControlGetPropertyAsInt - Dialog Item Integer Value DialogItemText - Dialog Item Text DialogGetChannel - Dialog Channel DialogItemEditValue - Dialog Item Edit Value DialogControlGetAnchor - Dialog Item Anchor DialogControlGetHeight - Dialog Item Height DialogControlGetWidth - Dialog Item Width DialogIsImageVisible - Dialog Background Image Is Visible DialogItemColor - Dialog Item Color DialogControlGetItemCount - Count Of List Items DialogGetWidth - Dialog Width EventDialogControlEventType - Dialog Item Event Type ScreenButtonDialog - Screen Button Dialog DialogControlIsEnabled - Dialog Item Is Enabled

Order
OrderGetTargetPoint - Target Point For Order OrderGetTargetUnit - Target Unit For Order OrderGetPlayer - Player For Order OrderGetFlag - Flag Is Enabled For Order OrderTargetingRelativePoint - Order Targeting Relative Points OrderGetTargetItem - Target Item For Order OrderTargetingPoint - Order Targeting Point OrderGetTargetType - Target Type For Order Order - Order With No Target AbilityCommandGetAction - Action Type For Ability Command AbilityCommandGetAbility - Ability Of Ability Command OrderSetAutoCast - Change Autocast Mode OrderTargetingUnitGroup - Order Targeting Unit Group AbilityCommandGetCommand - Index Of Ability Command AbilityCommand - Ability Command OrderTargetingItem - Order Targeting Item OrderGetTargetPosition - Target Position For Order OrderGetAbilityCommand - Ability Command For Order OrderTargetingUnit - Order Targeting Unit

Text Tag
TextTagLastCreated - Last Created Text Tag TextTagVisible - Text Tag Is Visible

Player Group
PlayerGroupEmpty - Empty Player Group PlayerGroupSingle - Convert Player To Player Group PlayerGroupCount - Number Of Players In Player Group PlayerGroupHasPlayer - Player In Player Group PlayerGroupAll - All Players PlayerGroupCopy - Copy Of Player Group PlayerGroupPlayer - Player From Player Group PlayerGroupLoopCurrent - Picked Player PlayerGroupAlliance - Allies Of Player PlayerGroupActive - Active Players

Conversion
IntToFixed - Convert Integer To Real IntToString - Convert Integer To String FixedToInt - Convert Real To Integer FixedToString - Convert Real To String StringToInt - Convert String To Integer StringToFixed - Convert String To Real ColorGetComponent - Color Component Color - Convert Reals To Color ColorWithAlpha - Convert Reals To Color With Alpha ConvertPresetToPurchasable - Convert Preset To Purchasable FixedToText - Convert Real To Text ConvertBearingsToString - Convert Bearings To String FormatNumber - Format Number BoolToInt - Convert Boolean To Integer ConvertBooleanToText - Convert Boolean To Text ConvertPresetToReal - Convert Preset To Real ConvertPresetToString - Convert Preset To String ConvertPresetToTrigger - Convert Preset To Trigger ConvertXYToString - Convert XY To String ConvertPlayerColorToColor - Convert Player Color To Color ConvertPresetToUnitFilter - Convert Preset To Unit Filter Convert3DVectorToString - Convert 3D Vector To String StringToText - Convert String To Text ConvertPresetToRevealer - Convert Preset To Revealer ConvertPresetToUnit - Convert Preset To Unit Color255FromFixed - Convert Real Color Component to Integer 255 Color Component ConvertColorToString - Convert Color To String ConvertPresetToColor - Convert Preset To Color ConvertPresetToReply - Convert Preset To Reply ConvertPresetToPoint - Convert Preset To Point FormatDuration - Format Duration StringToText - Convert String To Actor Message Convert3DRotationToString - Convert 3D Rotation To String ColorFromIndex - Convert Color Index To Color ConvertPresetToTransmission - Convert Preset To Transmission ConvertPresetToRegion - Convert Preset To Region ConvertPresetToConversation2 - Convert Preset To Game Link - Unit StringToText2 - Convert Game Link To String ConvertPresetToConversation - Convert Preset To Conversation IntToText - Convert Integer To Text ConvertBooleanToString - Convert Boolean To String ConvertPresetToInteger - Convert Preset To Integer

Unit Group
UnitGroupEmpty - Empty Unit Group UnitGroupHasUnit - Unit In Unit Group UnitGroupCopy - Copy Of Unit Group UnitGroupUnit - Unit From Unit Group UnitGroup - Units In Region Matching Condition UnitGroupAlliance - Units In Region With Alliance To Player UnitGroupLoopCurrent - Picked Unit UnitGroupFilterRegion - Units In Unit Group Within Region UnitGroupFilterAlliance - Units In Unit Group With Alliance UnitGroupCount - Number Of Units In Unit Group UnitGroupFilterPlayer - Units In Unit Group For Player UnitGroupRandomUnit - Random Unit From Unit Group ClosestUnitToPoint - Closest Unit To Point ConvertUnitToUnitGroup - Convert Unit To Unit Group CenterOfUnitGroup - Center Of Unit Group UnitGroupIdle - Idle Units For Player UnitGroupFilter - Units In Unit Group Matching Condition UnitGroupFilterPlane - Units In Unit Group Targetable As

Logic
AndOrMult - And Or Multiple AndOr - And Or AndOrMult2 - Not

Conversation
ConversationVisible - Conversation Is Visible ConversationLastCreated - Last Created Conversation ConversationReplyLastCreated - Last Created Conversation Reply EventConversation - Selected Conversation EventConversationReply - Selected Conversation Reply ConversationDataLineCount - Data Conversation Line Count ConversationDataStateName - Data Conversation State Name ConversationDataStateImageEdge - Data Conversation State Text Tag Edge ConversationDataActiveCamera - Active Data Conversation Camera ConversationDataStateIndexCount - Data Conversation State Count ConversationDataLineId - Data Conversation Line Name ConversationDataChoiceGetPicked - Data Conversation Choice Picked ConversationDataStateModel - Data Conversation State Model ConversationDataChoiceId - Data Conversation Choice Name ConversationReplyGetText - Conversation Reply Text ConversationDataChoiceCount - Data Conversation Choice Count ConversationDataChoiceGetPickedCount - Data Conversation Choice Picked Count ConversationDataStateGetValue - Data Conversation State ConversationDataLineGetPickedCount - Data Conversation Line Picked Count ConversationDataChoiceGetState - Data Conversation Choice State ConversationDataStateText - Data Conversation State Text ConversationReplyGetState - Conversation Reply State ConversationDataStateUpgrade - Data Conversation State Upgrade ConversationDataStateFixedValue - Data Conversation State Custom Value ConversationDataCanRun - Data Conversation Can Be Run EventConversationState - Triggering Conversation State ConversationDataStateAttachPoint - Data Conversation State Attachment Point ConversationDataStateIndex - Convert Integer To Conversation State Index ConversationDataActiveSound - Active Data Conversation Sound ConversationDataStateAbilCmd - Data Conversation State Ability Command ConversationDataStateImagePath - Data Conversation State Image ConversationDataStateMoviePath - Data Conversation State Movie ConversationReplyGetIndex - Conversation Reply Index

Cinematics
PlayerInCinematicMode - Player In Cinematic Mode

Math
SquareRoot - Square Root Pow - Power ModF - Modulo (Real) Sin - Sine Cos - Cosine Tan - Tangent ASin - Arcsine ACos - Arccosine ATan - Arctangent From Value ATan2 - Arctangent From Deltas ArithmeticIntMult - Arithmetic Multiple (Integer) ArithmeticRealMult - Arithmetic Multiple (Real) ArithmeticInt - Arithmetic (Integer) ArithmeticReal - Arithmetic (Real) RandomInt - Random Integer RandomFixed - Random Real AbsI - Absolute Value (Integer) RandomPercent - Random Percent ArithmeticRealClamp - Clamp (Real) AbsF - Absolute Value (Real) MinI - Minimum (Integer) ArithmeticIntClamp - Clamp (Integer) MaxF - Maximum (Real) MinF - Minimum (Real) RandomAngle - Random Angle MaxI - Maximum (Integer) ModI - Modulo (Integer)

Leaderboard
BoardLastCreated - Last Created Leaderboard

Objective
ObjectiveLastCreated - Last Created Objective ObjectiveGetPlayerGroup - Objective Players ObjectiveGetName - Objective Text ObjectiveGetDescription - Objective Description ObjectiveVisible - Objective Is Visible ObjectiveGetPrimary - Objective Primary ObjectiveGetState - Objective State

Melee
MeleeGetOption - Player Melee Option

Tech Tree
TechTreeBehaviorIsAllowed - Behavior Is Allowed For Player TechTreeAbilityCount - Ability Count For Player TechTreeBehaviorCount - Behavior Count For Player TechTreeUnitCount - Unit Count For Player TechTreeUpgradeCount - Upgrade Count For Player UnitTechTreeBehaviorCount - Tech Tree Behavior Count For Unit UnitTechTreeUnitCount - Tech Tree Unit Count For Unit UnitTechTreeUpgradeCount - Tech Tree Upgrade Count For Unit TechTreeRestrictionsEnabled - Restrictions Are Enabled For Player TechTreeAbilityIsAllowed - Ability Is Allowed For Player TechTreeUpgradeIsAllowed - Upgrade Is Allowed For Player TechTreeUnitIsAllowed - Unit Is Allowed For Player

Actor
SetWalkAnimMoveSpeed - Set Walk Anim Move Speed AnimSetTime - Anim Set Time MakeMsgTextureVideoPlay - Texture Video Play (Advanced) ActorScopeFromPortrait - Actor Scope From Portrait QueryPersistent - Query Persistent MoverSetAcceleration - Mover Set Acceleration MakeMsgTransition - Transition TextureVideoStop - Texture Video Stop AnimBaselineStop - Anim Baseline Stop MoverSetSpeed - Mover Set Speed CreateCopy - Create Copy SetTeamColor - Set Team Color SetScale - Set Scale SoundSetMuted - Sound Set Muted AttachSetRotation - Attach Set Rotation ListRemove - List Remove TextureVideoSetTime - Texture Video Set Time ActionImpact - Action Impact MakeMsgRefCreate - Ref Create MoverSetDestinationZ - Mover Set Destination Z TextureVideoSetPaused - Texture Video Set Paused TextureVideoStopAll - Texture Video Stop All MakeMsgSetPhysicsState - Set Physics State SetPosition - Set Position RefDestroy - Ref Destroy SetRenderToTextureEnabled - Set Render To Texture Enabled MoverSetDeceleration - Mover Set Deceleration TextureGroupApply - Texture Group Apply SetBearingsFrom - Set Bearings From TextureDump - Texture Dump Print - Print SetPosition2DH - Set Position 2D H MainActorofUnit - Actor From Unit ActorFromScope - Actor From Scope LastCreatedActorScope - Last Created Actor Scope AnimSetPaused - Anim Set Paused TextureGetSlotComponent - Texture Slot Component ActorGetText - Actor Get Text ActorFromDoodad - Actor From Doodad MoverSetSpeedFromDuration - Mover Set Speed From Duration MakeMsgRefTableDump - Ref Table Dump MakeMsgTextureSelectByMatch - Texture Select By Match AliasRemove - Alias Remove Destroy - Destroy SetLocalTintColor - Set Local Tint Color AnimBlendTimeApply - Anim Blend Time Apply ActorScopeGetText - Actor Scope Get Text MoverSetDestination2D - Mover Set Destination 2D StatusDecrement - Status Decrement StatusIncrement - Status Increment AnimPlaySequence - Anim Play Sequence ActionDamage - Action Damage SoundSetOffset - Sound Set Offset AttachSetPositionFrom - Attach Set Position From SetBearingsH - Set Bearings H MakeMsgTextureVideoSetTime - Texture Video Set Time (Advanced) AttachSetPosition - Attach Set Position ListAdd - List Add AnimBlendTimeRemove - Anim Blend Time Remove ActorScopeFromUnit - Actor Scope From Unit AnimSetDuration - Anim Set Duration MakeMsgAnimPlay - Anim Play SetRotation - Set Rotation TextureGroupRemove - Texture Group Remove DeathCustomize - Death Customize ActorFromActor - Actor From Actor MakeMsgTextureVideoStop - Texture Video Stop (Advanced) TextureSelectByID - Texture Select By ID LookAtTargetFromUnitAttachPoint - Look At Target From Unit Attach Point SetPositionFrom - Set Position From SoundAddDSP - Sound Add DSP QueryRegion - Query Region SetPosition2D - Set Position 2D TimerSet - Timer Set AliasAdd - Alias Add AnimBaselineStart - Anim Baseline Start AnimSetTimeScaleGlobal - Anim Set Time Scale Global SetZ - Set Z TextureGetSlotName - Texture Slot Name AnimDumpDB - Anim Dump DB AnimClear - Anim Clear MakeMsgAnimBracketStart - Anim Bracket Start MakeMsgTextureSelectBySlot - Texture Select By Slot HostSiteOpsSet - HostSiteOpsSet TextureVideoSetFrame - Texture Video Set Frame ActorScopeFrom - Actor Scope From RefClear - Ref Clear MoverSetDestinationFrom - Mover Set Destination From SetBearings - Set Bearings RefSet - Ref Set ActorFromPortrait - Actor From Portrait AnimGroupRemoveAll - Anim Group Remove All LastCreatedActor - Last Created Actor RefSetFromMsg - Ref Set From Msg RefDump - Ref Dump MoverSetDestinationH - Mover Set Destination H AnimSetTimeScale - Anim Set Time Scale QueryRadius - Query Radius AttachSetRotationFrom - Attach Set Rotation From LookAtTargetFromPointWithZOffset - Look At Target From Point With Z Offset SetOpacity - Set Opacity MoverMove - Mover Move MakeMsgAnimGroupApply - Anim Group Apply MakeMsgAnimBracketResume - Anim Bracket Resume MoverStopNow - Mover Stop Now TimerKill - Timer Kill ModelSwap - Model Swap AttachSetBearings - Attach Set Bearings SetShowing - Set Showing ActorScopeFromActor - Actor Scope From Actor MoverSetSpeedMax - Mover Set Speed Max SetTintColor - Set Tint Color MissileTentacleReturn - Missile Tentacle Return MakeMsgTextureVideoSetPaused - Texture Video Set Paused (Advanced) Signal - Signal SetHeight - Set Height RefSetRefreshName - Ref Set Refresh Name AttachSetBearingsFrom - Attach Set Bearings From SetRotationFrom - Set Rotation From RefSetFromActor - Ref Set From Actor MakeMsgTextureVideoPlay - Texture Video Play ActorFrom - Actor From RefNotify - Ref Notify MakeMsgRefSetFromRequest - Ref Set From Request ModelEventSuppress - Model Event Suppress MakeMsgAnimGroupRemove - Anim Group Remove SetFacing - Set Facing SoundSetPaused - Sound Set Paused SetScaleAbsolute - Set Scale Absolute MakeMsgTextureVideoSetFrame - Texture Video Set Frame (Advanced) AnimClearAllBut - Anim Clear All But MakeMsgAnimBracketStop - Anim Bracket Stop TextureDumpDB - Texture Dump DB SetPositionH - Set Position H AnimSetCompletion - Anim Set Completion MultiplyScale - Multiply Scale MoverStop - Mover Stop Create - Create

Tech Purchase
PurchaseItemIsRecentlyPurchased - Purchase Item Is Recently Purchased PurchaseItemLastCreated - Last Created Purchase Item PurchaseGroupLastCreated - Last Created Purchase Group EventPurchaseMade - Purchased Purchase Item PurchaseGetSelectedPurchaseItem - Selected Purchase Item PurchaseGetSelectedPurchaseCategory - Selected Purchase Category PurchaseCategoryLastCreated - Last Created Purchase Category

Story
ResearchTierLastCreated - Last Created Research Tier EventPlanetPanelDifficultySelected - Selected Mission Difficulty PlayerInStoryMode - Player In Story Mode EventBattleReportPanelDifficultySelected - Selected Battle Report Difficulty EventBattleReportPanelMissionSelected - Selected Battle Report Mission ResearchItemLastCreated - Last Created Research Item MercenaryLastCreated - Last Created Mercenary RoomPanelLastAdded - Last Added Room Button EventBattleReportPanelSceneSelected - Selected Battle Report Scene BattleReportPanelGetSelectedBattleReport - Selected Battle Report ResearchItemGetSelected - Selected Research Item EventRoomPanelButtonPressed - Room Button Selected BattleReportLastCreated - Last Created Battle Report EventVictoryPanelDifficultySelected - Selected Victory Difficulty ResearchCategoryLastCreated - Last Created Research Category MercenaryGetSelected - Selected Mercenary