Perftest3

All Functions

## Tutorial

TutorialDeckSlotDisable
FilterEntityThreatValueIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Disables the given Deck Slot.

TutorialDeckSlotEnable
alert This function has not been verified yet! It may not be acurate

Enables the given Deck Slot.

TutorialMarkerAdd
alert This function has not been verified yet! It may not be acurate

Adds a new tutorial marker or moves an existing one with the same tag.

 Widget
 MarkerFileName
 Position

TutorialDetailMarkerAdd
alert This function has not been verified yet! It may not be acurate

Adds a new tutorial marker or moves an existing one with the same tag, with detail info.

 Widget
 MarkerFileName
 DetailFileName
 Position

TutorialMarkerRemove
alert This function has not been verified yet! It may not be acurate

Removes a tutorial marker.

TutorialEffectStart
alert This function has not been verified yet! It may not be acurate

Starts the effect on all Squads with that PvE Type.

 PvEType
 Effect

TutorialEffectStopAll
alert This function has not been verified yet! It may not be acurate

Stops all effects started with the TutorialEffect command.

## AudioVisual

AudioAmbientPlay
alert This function has not been verified yet! It may not be acurate

Plays the specified AmbientStream at the TargetTag position.

 TargetTag

AudioSoundFXStop
alert This function has not been verified yet! It may not be acurate

Stops the Audio if it is playing.

CameraCenterOnTarget
alert This function has not been verified yet! It may not be acurate

Centers the Camera on the Tag's position.

AudioMusicPlay
alert This function has not been verified yet! It may not be acurate

Plays the specified Music Track.

EffectEnable
alert This function has not been verified yet! It may not be acurate

Enables (starts) the editor-placed effect.

EffectDisable
alert This function has not been verified yet! It may not be acurate

Disables (stops) the editor-placed effect.

EffectToggle
alert This function has not been verified yet! It may not be acurate

Toggles the editor-placed effect.

EffectPowerSet
alert This function has not been verified yet! It may not be acurate

Sets the Effect's 'power' to the specified percentage.

 Percent

EffectPowerAdd
alert This function has not been verified yet! It may not be acurate

Adds this percentage to the Effect's 'power'. Will never go over 100%.

 Percent

EffectPowerSubtract
alert This function has not been verified yet! It may not be acurate

Subtracts this percentage from the Effect's 'power'. Will never go below 5%.

 Percent

EffectStart
alert This function has not been verified yet! It may not be acurate

Starts the effect on the TargetTag entities.

 Effect
 Percent

EffectStartTargeted
alert This function has not been verified yet! It may not be acurate

Starts the effect from the Tag entities to the TargetTag entities.

 TargetTag
 Effect
 Percent

EffectStopAll
alert This function has not been verified yet! It may not be acurate

Stops all effects on the entities.

EffectVanish
alert This function has not been verified yet! It may not be acurate

Removes the effect entity (editor placed effects) from the map.

FogOfWarObserve
alert This function has not been verified yet! It may not be acurate

Starts observing TargetTag position(s), thus completely removing both Unexplored AND Fog of War indefinetely.

 Team
 Range

FogOfWarGlanceAt
alert This function has not been verified yet! It may not be acurate

Takes a glance (quick look) at the TargetTag(s), thus removing only the Unexplored (targets remain shrouded in Fog of War).

 Team
 Range

WeatherSet
alert This function has not been verified yet! It may not be acurate

Changes the weather. Similar to performing a raindance in real life.

 FadeDuration

AudioSoundFXPlay
alert This function has not been verified yet! It may not be acurate

Plays the specified Sound FX at the TargetTag position.

 TargetTag

AudioSoundUIPlay
alert This function has not been verified yet! It may not be acurate

Plays the specified UI Sound at the TargetTag position.

AudioVoicePlay
alert This function has not been verified yet! It may not be acurate

Plays the specified Voice Stream.

 Volume

## Building

BuildingSpawn
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 Team
 BuildingId
 Direction

BuildingSpawnWithTag
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 TargetTag
 Team
 BuildingId
 Direction

PlayerBuildingSpawn
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 Player
 BuildingId
 Direction

PlayerBuildingSpawnWithTag
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 TargetTag
 Player
 BuildingId
 Direction

BuildingTypeChange
alert This function has not been verified yet! It may not be acurate

Changes the type of an entity.

 BuildingId

BuildingModeChange
alert This function has not been verified yet! It may not be acurate

Changes the Building's Mode. Does NOT consume Power from the owning Player.

 ModeId

BuildingModeSetEnabled
alert This function has not been verified yet! It may not be acurate

Changes the Building's Mode to the 'enabled' mode. Does NOT consume Power from the owning Player.

BuildingModeSetDisabled
alert This function has not been verified yet! It may not be acurate

Changes the Building's Mode to the 'disabled' mode. Does NOT consume Power from the owning Player.

BuildingModeToggle
alert This function has not been verified yet! It may not be acurate

Toggles the Building's Mode to 'enabled' or 'disabled'. Does NOT consume Power from the owning Player.

BuildingVanish
alert This function has not been verified yet! It may not be acurate

Removes the Building from the map.

BuildingDestroy
alert This function has not been verified yet! It may not be acurate

Destroys the Building.

BuildingKillInRange
alert This function has not been verified yet! It may not be acurate

Kills all Buildings in range.

 Range

BuildingAnimPlay
alert This function has not been verified yet! It may not be acurate

Plays the Building animation once.

 Anim

BuildingAnimPlayLooped
alert This function has not been verified yet! It may not be acurate

Plays the Building animation in a loop.

 Anim

## Special

MapReset
alert This function has not been verified yet! It may not be acurate

Resets the map, all Scripts and Variables (Sandbox restart).

## Cutscene

CutsceneCameraPlay
alert This function has not been verified yet! It may not be acurate

Plays the specified Camera Track. TargetTag is optional, it overwrites TargetTag in Cutscene if used.

 Camera
 TargetTag

CutsceneCameraPlayFullScreen
alert This function has not been verified yet! It may not be acurate

Plays the specified Camera Track in fullscreen mode.

 Camera
 TargetTag

CutsceneBegin
alert This function has not been verified yet! It may not be acurate

Starts a Cutscene.

 RenderOnly

CutsceneEnd
alert This function has not been verified yet! It may not be acurate

Ends a running Cutscene.

CutsceneRenderOnly
alert This function has not been verified yet! It may not be acurate

Renders only the entities from the ScriptTag group. Affects only Figures.

CutsceneRenderAll
alert This function has not been verified yet! It may not be acurate

Resets render flags after using CutsceneRenderOnly so all entities are rendered again.

CutsceneRewardCardShowOff
alert This function has not been verified yet! It may not be acurate

Plays the Reward Card ShowOff Animation & Effects on the specified TargetTag.

 CardSquadId

CutsceneSay
alert This function has not been verified yet! It may not be acurate

Displays text during a Cutscene.

 TextTag
 Text

CutsceneEntityTeleport
alert This function has not been verified yet! It may not be acurate

Instantly teleports entity(s) to TargetTag location, no questions asked. Skips 'free position' & blocking checks, allows Figure penetration.

 TargetTag

CutsceneSquadGoto
alert This function has not been verified yet! It may not be acurate

Squad goes to target in straight line (stops when blocked, walks through other figures). Use only for Cutscenes!

 TargetTag
 Run
 Direction

## Squad

SquadSpawn
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 Team
 SquadId
 Direction

SquadSpawnWithTag
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 TargetTag
 Team
 SquadId
 Direction

SquadSpawnIntoGroup
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

PlayerSquadSpawn
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 Player
 SquadId
 Direction

PlayerSquadSpawnWithTag
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 TargetTag
 Player
 SquadId
 Direction

PlayerSquadSpawnIntoGroup
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

SquadTypeChange
alert This function has not been verified yet! It may not be acurate

Changes the type of an entity.

 SquadId

SquadModeChange
alert This function has not been verified yet! It may not be acurate

Changes the Squad's Mode. Does NOT consume Power from the owning Player.

 ModeId

SquadModeSetEnabled
alert This function has not been verified yet! It may not be acurate

Changes the Squad's Mode to the 'enabled' mode. Does NOT consume Power from the owning Player.

SquadModeSetDisabled
alert This function has not been verified yet! It may not be acurate

Changes the Squad's Mode to the 'disabled' mode. Does NOT consume Power from the owning Player.

SquadModeToggle
alert This function has not been verified yet! It may not be acurate

Toggles the Squad's Mode to 'enabled' or 'disabled'. Does NOT consume Power from the owning Player.

SquadVanish
alert This function has not been verified yet! It may not be acurate

Removes the Squad from the map. Squad figures will simply disappear (no 'dying' animation).

SquadKill
alert This function has not been verified yet! It may not be acurate

Kills the Squad by damaging each Figure so they will die and play their death animation.

SquadKillInRange
alert This function has not been verified yet! It may not be acurate

Kills all Squads in range.

 Range

SquadRespawn
alert This function has not been verified yet! It may not be acurate

Respawns (recreates) an entity. Entity must be dead and it must have existed before!

 TargetTag
 HealthPercent

ObjectRespawn
alert This function has not been verified yet! It may not be acurate

Respawns (recreates) an entity. Entity must be dead and it must have existed before!

 TargetTag
 HealthPercent

BuildingRespawn
alert This function has not been verified yet! It may not be acurate

Respawns (recreates) an entity. Entity must be dead and it must have existed before!

 TargetTag
 HealthPercent

SquadTeleportInRange
alert This function has not been verified yet! It may not be acurate

Instantly teleports the Squads in range to TargetTag location.

 Range

SquadAttack
alert This function has not been verified yet! It may not be acurate

Squad attacks the specified TargetTag entity (even if it is a friendly entity). TargetTag must be alive and attackable!

 TargetTag
 AttackGroupSize

SquadAttackForced
alert This function has not been verified yet! It may not be acurate

Squad attacks the specified TargetTag entity (even if it is a friendly entity). Uses Forced Goto to get to Target.

 TargetTag
 AttackGroupSize

SquadBarrierMount
alert This function has not been verified yet! It may not be acurate

Squad tries to mount TargetTag barrier (module, set or scriptgroup containing modules).

 TargetTag

SquadBarrierDismount
alert This function has not been verified yet! It may not be acurate

Squad dismounts barrier.

SquadFlee
alert This function has not been verified yet! It may not be acurate

Squads flee from nearest enemy entity by using forced Goto in the opposite Direction.

 Distance
 SearchRadius

SquadPatrol
alert This function has not been verified yet! It may not be acurate

Squad walks waypoints back and forth continously. Continues patrol after being attacked.

 TargetTag

SquadGoto
alert This function has not been verified yet! It may not be acurate

Squad goes towards TargetTag or along TargetTag-ScriptGroup waypoints. Continues goto after being attacked.

 TargetTag
 Run
 Direction

SquadGotoForced
alert This function has not been verified yet! It may not be acurate

Same as SquadGoto but Squad does not attack or follow attackers until it has reached its destination. Use with care!

 TargetTag
 Run
 Direction

SquadGotoFight
alert This function has not been verified yet! It may not be acurate

Squad goes to any TargetTag Squad that is in a fight.

 TargetTag
 Run
 Direction

SquadGotoRandom
alert This function has not been verified yet! It may not be acurate

Squad goes randomly towards ONE of the TargetTags.

 TargetTag
 Run

SquadGotoClosestMonumentOrGenerator
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Monument or Generator. Continues goto after being attacked.

 Run
 SearchRadius

SquadGotoClosestSquad
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Squad. Continues goto after being attacked.

 Run
 SearchRadius

SquadGotoClosestBuilding
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Building. Continues goto after being attacked.

 Run
 SearchRadius

SquadGotoClosestBarrier
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Barrier. Continues goto after being attacked.

 Run
 SearchRadius

SquadGotoClosestTarget
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest attackable Target. Continues goto after being attacked.

 Run
 SearchRadius

SquadHoldPosition
alert This function has not been verified yet! It may not be acurate

Squad holds position, will attack if enemies are in attack range but will not pursue enemies.

SquadGotoMapBorder
alert This function has not been verified yet! It may not be acurate

Squad walks to Target from outside map border. Target must be a ScriptMarker and close to MapBorder.

 TargetTag

SquadAnimPlay
alert This function has not been verified yet! It may not be acurate

Plays the animation once for all figures in the Squad.

 Unit
 Anim

SquadAnimPlayLooped
alert This function has not been verified yet! It may not be acurate

Plays the animation continuously for all figures in the Squad.

 Unit
 Anim

SquadInRangePushBack
alert This function has not been verified yet! It may not be acurate

Squad figures are getting pushed back, the epicentre of the pushback is at the TargetTag location.

 Range

SquadStop
alert This function has not been verified yet! It may not be acurate

Squad stops movement.

SquadGroupCheckpointGoto
alert This function has not been verified yet! It may not be acurate

SquadGroup goes to next Checkpoint (direct line of sight to Checkpoint is recommended).

 TargetTag
 Run

SquadCheckpointGoto
alert This function has not been verified yet! It may not be acurate

Squad goes to next Checkpoint (direct line of sight to Checkpoint is recommended).

 TargetTag
 Run

SquadGroupCheckpointGotoStop
alert This function has not been verified yet! It may not be acurate

Stops a SquadGroup that is currently on a CheckpointGoto. Group will stop at the next checkpoint they reach.

SquadGridGoto
alert This function has not been verified yet! It may not be acurate

Standard Goto that uses the GotoGrid.

 TargetTag
 Direction
 IgnoreGridIfAllSquadsFly

SquadGridPatrol
alert This function has not been verified yet! It may not be acurate

Patrol mode on path given by TargetTag (start & end point), uses GotoGrid.

 TargetTag
 Direction

SquadSpawnRandomSelection
alert This function has not been verified yet! It may not be acurate

Spawns a random selection of Squads, depending on the SpawnTable (see description for table syntax).

PlayerSquadSpawnRandomSelection
alert This function has not been verified yet! It may not be acurate

Spawns a random selection of Squads, depending on the SpawnTable (see description for table syntax).

## OctoberVersionOnly

OctoberVersionOnly\_DoDamageToTeamSquadInRange
alert This function has not been verified yet! It may not be acurate

Does damage to Squads in Range.

 TargetTag
 Range
 Amount

OctoberVersionOnly\_DoDamageToTeamSquadInRect
alert This function has not been verified yet! It may not be acurate

Does damage to Squads in Range.

 Tag
 TargetTag
 Amount

OctoberVersionOnly\_DoDamageToTeamSquadInRay
alert This function has not been verified yet! It may not be acurate

Does damage to Squads in Range.

 Tag
 TargetTag
 Amount

## Debug

DebugInfoMessage
alert This function has not been verified yet! It may not be acurate

Shows a MessageBox to the user (ignored in release builds).

 Popup

DebugWarningMessage
alert This function has not been verified yet! It may not be acurate

Shows a MessageBox to the user (ignored in release builds).

 Popup

DebugErrorMessage
alert This function has not been verified yet! It may not be acurate

Shows a MessageBox to the user (ignored in release builds).

 Popup

## Ability

AbilitySpawn
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 Team
 AbilityId

AbilitySpawnWithTag
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 TargetTag
 Team
 AbilityId

AbilitySpawnIntoGroup
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 Group
 TargetTag
 Team
 AbilityId

AbilityVanish
alert This function has not been verified yet! It may not be acurate

Removes the Ability from the map. Works with all supported entity types.

AbilityDestroy
alert This function has not been verified yet! It may not be acurate

Kills or destroys the Ability regularly.

## Generator & Monument

MonumentVanish
alert This function has not been verified yet! It may not be acurate

Removes the Monument from the map.

GeneratorVanish
alert This function has not been verified yet! It may not be acurate

Removes the Generator from the map.

## ScriptGroup

ScriptGroupClear
alert This function has not been verified yet! It may not be acurate

Removes all tags from the ScriptGroup.

ScriptGroupTagAdd
alert This function has not been verified yet! It may not be acurate

Adds the tag to the ScriptGroup.

 Tag

ScriptGroupTagRemove
alert This function has not been verified yet! It may not be acurate

Removes the tag from the ScriptGroup.

 Tag

ScriptGroupSquadSpawnCounterReset
alert This function has not been verified yet! It may not be acurate

Resets the ScriptGroup's SquadSpawnCounter value (set to 0).

ScriptGroupSquadDeathCounterReset
alert This function has not been verified yet! It may not be acurate

Resets the ScriptGroup's SquadDeathCounter value (set to 0).

## !Functions

GetScriptTag
alert This function has not been verified yet! It may not be acurate

Returns the ScriptTag of the entity currently executing this script.

GetScriptPath
alert This function has not been verified yet! It may not be acurate

Returns the path to the current map's 'script' folder, for use in: dofile(GetScriptPath()..'myscript.lua')

GetNumPlayers
alert This function has not been verified yet! It may not be acurate

Returns the number of Players that are starting the map.

GetCurrentWaveNumber
alert This function has not been verified yet! It may not be acurate

Returns the current wave number in a SpawnWave 'sp\_' script.

GetTotalWaveNumber
alert This function has not been verified yet! It may not be acurate

Returns the total number of waves executing this SpawnWave 'sp\_' script.

ArenaDummyRandom
alert This function has not been verified yet! It may not be acurate

'Real' random for 1p Arena Map. MUST NOT BE USED FOR PRODUCTION!!! WILL CAUSE DESYNCH IN MULTIPLAYER!!!

GdsGetConfigBoolean
alert This function has not been verified yet! It may not be acurate

Tries to read a Boolean value from config.xml. If value does not exist, value is added to config.xml and 'false' is returned. Key is Case-insensitive.

GdsGetConfigInteger
alert This function has not been verified yet! It may not be acurate

Tries to read an Integer value from config.xml. If value does not exist, value is added to config.xml and '0' is returned. Key is Case-insensitive.

GdsGetConfigFloat
alert This function has not been verified yet! It may not be acurate

Tries to read a Float value from config.xml. If value does not exist, value is added to config.xml and '0.0' is returned. Key is Case-insensitive.

GdsGetConfigString
alert This function has not been verified yet! It may not be acurate

Tries to read a String value from config.xml. If value does not exist, value is added to config.xml and empty string is returned. Key is Case-insensitive.

GetDifficulty
alert This function has not been verified yet! It may not be acurate

Returns the current difficulty (a number).

SetDifficulty
alert This function has not been verified yet! It may not be acurate

Sets the game's difficulty (a number).

SpawnWaveTemplate
alert This function has not been verified yet! It may not be acurate

Creates templates of SpawnWaves for later Spawning.

SpawnWaveEmitter
alert This function has not been verified yet! It may not be acurate

Defines a group of spawn waves that can be emitted at a certain location.

RegisterSquadSpawnCounter
alert This function has not been verified yet! It may not be acurate

Counts all Squad spawns in this ScriptGroup. Must be used outside of any State!

RegisterSquadDeathCounter
alert This function has not been verified yet! It may not be acurate

Counts all Squad deaths in this ScriptGroup. Must be used outside of any State!

UpgradeLevel0
alert This function has not been verified yet! It may not be acurate

Changes the base (Upgrade2) ID of an entity to the corresponding UpgradeLevel ID.

UpgradeLevel1
alert This function has not been verified yet! It may not be acurate

Changes the base (Upgrade2) ID of an entity to the corresponding UpgradeLevel ID.

UpgradeLevel2
alert This function has not been verified yet! It may not be acurate

Changes the base (Upgrade2) ID of an entity to the corresponding UpgradeLevel ID.

UpgradeLevel3
alert This function has not been verified yet! It may not be acurate

Changes the base (Upgrade2) ID of an entity to the corresponding UpgradeLevel ID.

## Player

PlayerCardSpellFakePlay
alert This function has not been verified yet! It may not be acurate

Emulates the playing of a CardSpell but without Power consumption and for any Player.

 AimTag
 Player
 CardSpellId

PlayerCardSquadFakePlay
alert This function has not been verified yet! It may not be acurate

Emulates the playing of a CardSquad but without Power consumption and for any Player.

PlayerCardSquadFakePlayWithTag
alert This function has not been verified yet! It may not be acurate

Emulates the playing of a CardSquad but without Power consumption and for any Player.

PlayerGameOver
alert This function has not been verified yet! It may not be acurate

GameOver man, GameOver!

 TargetTag
 Message

PlayerGameWon
alert This function has not been verified yet! It may not be acurate

GameOver man, GameOver!

PlayerGameOverCheckEnabled
alert This function has not been verified yet! It may not be acurate

Enables the GameOver check.

PlayerGameOverCheckDisabled
alert This function has not been verified yet! It may not be acurate

Disables the GameOver check.

PlayerPowerGive
alert This function has not been verified yet! It may not be acurate

Gives Power to or takes Power from a Player.

 Amount

PlayerPowerTake
alert This function has not been verified yet! It may not be acurate

Gives Power to or takes Power from a Player.

 Amount

PlayerGeneratorActivate
alert This function has not been verified yet! It may not be acurate

Builds a Generator so it generates energy for that Player.

 Player

PlayerMonumentActivate
alert This function has not been verified yet! It may not be acurate

Builds an Orb on a Monument for that Player.

 Player
 Power

PlayerGeneratorRefresh
alert This function has not been verified yet! It may not be acurate

Refreshes capacity of the Generator, so it can be rebuild if depleted.

PlayerGeneratorDeactivate
alert This function has not been verified yet! It may not be acurate

Crushes Generator so it stops producing Energy.

PlayerMonumentDeactivate
alert This function has not been verified yet! It may not be acurate

Destroys the Orb of a Monument.

PlayerSquadCheer
alert This function has not been verified yet! It may not be acurate

Squads in range play their Cheer Anim/FX!

 TargetTag
 Range

## Object

ObjectSpawn
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

 ObjectId
 Direction
 Height
 Scaling

ObjectSpawnWithTag
alert This function has not been verified yet! It may not be acurate

Spawns (creates) an entity on the map.

ObjectTypeChange
alert This function has not been verified yet! It may not be acurate

Changes the type of an entity.

 ObjectId

ObjectVanish
alert This function has not been verified yet! It may not be acurate

Removes the Object from the map.

ObjectDestroy
alert This function has not been verified yet! It may not be acurate

Destroys the Object, Object MUST be destructible!

ObjectAnimPlay
alert This function has not been verified yet! It may not be acurate

Plays the animation once on the Object.

 Anim

ObjectAnimPlayLooped
alert This function has not been verified yet! It may not be acurate

Plays the animation continuously on the Object.

 Anim

## Entity

EntityAbilityAdd
alert This function has not been verified yet! It may not be acurate

Adds or removes Abilities of an entity.

 AbilityId
 ApplyToFigures

EntityAbilityRemove
alert This function has not been verified yet! It may not be acurate

Adds or removes Abilities of an entity.

 AbilityId
 ApplyToFigures

EntitySpellCast
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the TargetEntity. Target must be valid for the given Spell.

 TargetTag
 SpellId

EntitySpellCastOnClosestSquad
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Squad. Target must be valid for the given Spell.

 SpellId

EntitySpellCastOnClosestBuilding
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Building. Target must be valid for the given Spell.

 SpellId

EntitySpellCastOnClosestGenerator
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Power Generator. Target must be valid for the given Spell.

 SpellId
 IgnoreEmpty

EntitySpellCastOnClosestTarget
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest attackable Target. Target must be valid for the given Spell.

 SpellId

EntityPlayerSet
alert This function has not been verified yet! It may not be acurate

Sets the Player (Owner) the entity belongs to, changing who can select & control the entity.

 Player

EntityTeamSet
alert This function has not been verified yet! It may not be acurate

Sets the Team the entity belongs to, possibly changing it's friend-foe relationships.

 Team

EntityDirectionSet
alert This function has not been verified yet! It may not be acurate

Changes Direction of an Entity.

 Direction
 Variation

EntityDirectionSetRelative
alert This function has not been verified yet! It may not be acurate

Changes Direction of an Entity.

 Direction
 Variation

EntityDirectionLookAtTarget
alert This function has not been verified yet! It may not be acurate

Changes Direction of an Entity.

 TargetTag
 Variation

EntityHealthSet
alert This function has not been verified yet! It may not be acurate

Modifies the health (lifepoints) of the entity in percentage of its max. health.

 Percent

EntityHealthAdd
alert This function has not been verified yet! It may not be acurate

Modifies the health (lifepoints) of the entity in percentage of its max. health.

 Percent

EntityHealthSubtract
alert This function has not been verified yet! It may not be acurate

Modifies the health (lifepoints) of the entity in percentage of its max. health.

 Percent
 DoDamage

EntitySetMaxHealthAbsolute
alert This function has not been verified yet! It may not be acurate

Set the max health (lifepoints) of the entity.

 MaxHealthAbsolute

EntityVanish
alert This function has not been verified yet! It may not be acurate

Removes the Entity from the map. Works with all supported entity types.

EntityKill
alert This function has not been verified yet! It may not be acurate

Kills or destroys the Entity, entity MUST be destructible! Works with all supported entity types.

EntityKillInRange
alert This function has not been verified yet! It may not be acurate

Kills all entities in range. Should not be used! Basis for filtered Actions.

 Range

EntitySpellAdd
alert This function has not been verified yet! It may not be acurate

Adds the Spell to the Entity unless it already exists.

 SpellId

EntitySpellRemove
alert This function has not been verified yet! It may not be acurate

Removes the Spell from the Entity if it exists (otherwise command is ignored).

 SpellId

EntityTeleport
alert This function has not been verified yet! It may not be acurate

Instantly teleports entity(s) to TargetTag location, no questions asked.

 TargetTag

## Variable

NetworkFlagSetTrue
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

NetworkFlagSetFalse
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

NetworkFlagToggle
alert This function has not been verified yet! It may not be acurate

Toggles the flag, eg if it is true it will be set to false and vice versa.

NetworkValueSet
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

NetworkValueAdd
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

NetworkValueSubtract
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

NetworkValueIncrease
alert This function has not been verified yet! It may not be acurate

Increases the value by one, shorthand for Add with Value 1.

NetworkValueDecrease
alert This function has not been verified yet! It may not be acurate

Decreases the value by one, shorthand for Subtract with Value 1.

PlayerFlagSetTrue
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

 Name

PlayerFlagSetFalse
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

 Name

PlayerFlagToggle
alert This function has not been verified yet! It may not be acurate

Toggles the flag, eg if it is true it will be set to false and vice versa.

 Name

PlayerValueSet
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Name
 Value

PlayerValueAdd
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Name
 Value

PlayerValueSubtract
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Name
 Value

PlayerValueIncrease
alert This function has not been verified yet! It may not be acurate

Increases the value by one, shorthand for Add with Value 1.

 Name

PlayerValueDecrease
alert This function has not been verified yet! It may not be acurate

Decreases the value by one, shorthand for Subtract with Value 1.

 Name

PlayerValueRandomize
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Name
 MaxValue

PlayerTimerStart
alert This function has not been verified yet! It may not be acurate

Starts/Stops a Timer.

 Name

PlayerTimerStop
alert This function has not been verified yet! It may not be acurate

Starts/Stops a Timer.

 Name

MapFlagSetTrue
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

MapFlagSetFalse
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

MapFlagToggle
alert This function has not been verified yet! It may not be acurate

Toggles the flag, eg if it is true it will be set to false and vice versa.

EntityFlagSetTrue
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

EntityFlagSetFalse
alert This function has not been verified yet! It may not be acurate

Changes the flag accordingly.

EntityFlagToggle
alert This function has not been verified yet! It may not be acurate

Toggles the flag, eg if it is true it will be set to false and vice versa.

MapValueSet
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

MapValueAdd
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

MapValueSubtract
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

MapValueIncrease
alert This function has not been verified yet! It may not be acurate

Increases the value by one, shorthand for Add with Value 1.

MapValueDecrease
alert This function has not been verified yet! It may not be acurate

Decreases the value by one, shorthand for Subtract with Value 1.

MapValueRandomize
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 MaxValue

EntityValueSet
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

EntityValueAdd
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

EntityValueSubtract
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 Value

EntityValueIncrease
alert This function has not been verified yet! It may not be acurate

Increases the value by one, shorthand for Add with Value 1.

EntityValueDecrease
alert This function has not been verified yet! It may not be acurate

Decreases the value by one, shorthand for Subtract with Value 1.

EntityValueRandomize
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 MaxValue

MapTimerStart
alert This function has not been verified yet! It may not be acurate

Starts/Stops a Timer.

MapTimerStop
alert This function has not been verified yet! It may not be acurate

Starts/Stops a Timer.

EntityTimerStart
alert This function has not been verified yet! It may not be acurate

Starts/Stops a Timer.

EntityTimerStop
alert This function has not been verified yet! It may not be acurate

Starts/Stops a Timer.

MapValueSetToVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

MapValueAddVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

MapValueSubtractVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

MapValueMultiplyByVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

MapValueDivideByVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

EntityValueSetToVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

EntityValueAddVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

EntityValueSubtractVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

EntityValueMultiplyByVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

EntityValueDivideByVarValue
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 VarName

## Barrier

BarrierBuildOrRepair
alert This function has not been verified yet! It may not be acurate

Builds the specified BarrierSet and gives it to the Player, or repairs it if the Player owns that BarrierSet.

 Player

BarrierGateToggle
alert This function has not been verified yet! It may not be acurate

Opens or closes all Gates of the BarrierSet, depending on their current state.

BarrierGateOpen
alert This function has not been verified yet! It may not be acurate

Opens all Gates of the BarrierSet.

BarrierGateClose
alert This function has not been verified yet! It may not be acurate

Closes all Gates of the BarrierSet.

BarrierVanish
alert This function has not been verified yet! It may not be acurate

Removes the Barrier from the map.

BarrierDestroy
alert This function has not been verified yet! It may not be acurate

Destroys the Barrier.

## Mission

MissionEventInfo
alert This function has not been verified yet! It may not be acurate

Puts a message into the EventQueue.

 TargetTag
 Summary
 Description

MissionEventWarning
alert This function has not been verified yet! It may not be acurate

Puts a message into the EventQueue.

 TargetTag
 Summary
 Description

MissionEventSuccess
alert This function has not been verified yet! It may not be acurate

Puts a message into the EventQueue.

 TargetTag
 Summary
 Description

MissionEventFailure
alert This function has not been verified yet! It may not be acurate

Puts a message into the EventQueue.

 TargetTag
 Summary
 Description

MiniMapAlert
alert This function has not been verified yet! It may not be acurate

Show an Alert on MiniMap at the specified TargetTag location.

 AlertType

MissionOutcry
alert This function has not been verified yet! It may not be acurate

Displays a voiced text outside a Cutscene. Several Outcries can be queued as a conversation. (As opposed to MissionOutcry, which relies on the chat, Log directly logs to the log files in Documents/BattleForge/Diag.

MissionTaskSetActive
alert This function has not been verified yet! It may not be acurate

Adds, removes or modifies a Mission Task.

 TaskTag
 TargetTag
 Summary
 Description

MissionTaskSetSolved
alert This function has not been verified yet! It may not be acurate

Adds, removes or modifies a Mission Task.

 TaskTag
 TargetTag
 Summary
 Description

MissionTaskSetFailed
alert This function has not been verified yet! It may not be acurate

Adds, removes or modifies a Mission Task.

 TaskTag
 TargetTag
 Summary
 Description

MissionTaskRemove
alert This function has not been verified yet! It may not be acurate

Adds, removes or modifies a Mission Task.

 TaskTag

MissionTaskOnlyTransferXP
alert This function has not been verified yet! It may not be acurate

Adds, removes or modifies a Mission Task.

MissionCounterShow
alert This function has not been verified yet! It may not be acurate

Shows a Mission Counter onscreen (eg 'Bosses Killed: 0/3').

 CounterTag
 LocaTag
 MaxValue

MissionCounterHide
alert This function has not been verified yet! It may not be acurate

Hides the Mission Counter from display (the counter's value itself can still be queried/modified).

 CounterTag

MissionTimerStart
alert This function has not been verified yet! It may not be acurate

Adds a Mission Timer displayed onscreen.

 TimerTag
 LocaTag
 Seconds
 Minutes

MissionTimerChange
alert This function has not been verified yet! It may not be acurate

Changes the text of an existing Mission Timer without changing the timer.

 TimerTag
 TimerTagOld
 LocaTag

MissionTimerStop
alert This function has not been verified yet! It may not be acurate

Removes the Mission Timer from onscreen display and stops it.

 TimerTag

MissionTimerPause
alert This function has not been verified yet! It may not be acurate

Pauses the Mission Timer if not already paused. NOT YET IMPLEMENTED - please ask if needed!

 TimerTag

MissionTimerResume
alert This function has not been verified yet! It may not be acurate

Resumes a Mission Timer if it is currently paused. NOT YET IMPLEMENTED - please ask if needed!

 TimerTag

MissionCounterSet
alert This function has not been verified yet! It may not be acurate

Changes the value accordingly.

 CounterTag
 Value

MissionCounterIncrease
alert This function has not been verified yet! It may not be acurate

Increases the value by one, shorthand for Add with Value 1.

 CounterTag

MissionCounterDecrease
alert This function has not been verified yet! It may not be acurate

Decreases the value by one, shorthand for Subtract with Value 1.

 CounterTag

MissionCounterSetToHealthPercent
alert This function has not been verified yet! It may not be acurate

Sets the Mission Counter to the entity's health percent.

 Tag
 CounterTag

## Tutorial

TutorialEntityPvETypeIsSelected
TutorialEntityPvETypeIsNotSelected
alert This function has not been verified yet! It may not be acurate

Checks if any entity with the specified PvE Type is in the current selection.

TutorialEntityIsSelected
TutorialEntityIsNotSelected
alert This function has not been verified yet! It may not be acurate

Checks if any entity with the specified ScriptTag is in the current selection.

## AudioVisual

AudioAmbientIsPlaying
AudioAmbientIsNotPlaying
alert This function has not been verified yet! It may not be acurate

Checks if the respective audio file is currently playing.

AudioMusicIsPlaying
AudioMusicIsNotPlaying
alert This function has not been verified yet! It may not be acurate

Checks if the respective audio file is currently playing.

AudioSoundFXIsPlaying
AudioSoundFXIsNotPlaying
alert This function has not been verified yet! It may not be acurate

Checks if the respective audio file is currently playing.

AudioSoundUIIsPlaying
AudioSoundUIIsNotPlaying
alert This function has not been verified yet! It may not be acurate

Checks if the respective audio file is currently playing.

AudioVoiceIsPlaying
AudioVoiceIsNotPlaying
alert This function has not been verified yet! It may not be acurate

Checks if the respective audio file is currently playing.

## Building

BuildingWasJustHit
BuildingWasNotJustHit
alert This function has not been verified yet! It may not be acurate

Checks if the Building has just been hit by an attack or any other form of damage.

 Tag

BuildingIsAlive
BuildingIsDestroyed
alert This function has not been verified yet! It may not be acurate

Checks intact/destroyed status of Buildings.

 Tag

BuildingIsInRange
BuildingIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if \*any\* Building is in range. Used as basis for filtered 'in range' checks, eg. 'PlayerBuildingIsInRange'.

BuildingModeIsActive
BuildingModeIsNotActive
alert This function has not been verified yet! It may not be acurate

Checks if the currently active Mode has the specified ModeId.

 Tag
 ModeId

BuildingModeIsEnabled
BuildingModeIsDisabled
alert This function has not been verified yet! It may not be acurate

Checks if the currently active Mode is an 'enabled' or 'disabled' Mode.

 Tag

## ScriptGroup

ScriptGroupIsEmpty
ScriptGroupIsNotEmpty
alert This function has not been verified yet! It may not be acurate

Checks if the ScriptGroup contains tags or wether it is empty.

ScriptGroupAliveAmountIsEqual
ScriptGroupAliveAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Value

ScriptGroupAliveAmountIsGreater
ScriptGroupAliveAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Value

ScriptGroupAliveAmountIsLess
ScriptGroupAliveAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Value

ScriptGroupAlivePercentIsEqual
ScriptGroupAlivePercentIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Percent

ScriptGroupAlivePercentIsGreater
ScriptGroupAlivePercentIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Percent

ScriptGroupAlivePercentIsLess
ScriptGroupAlivePercentIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Percent

ScriptGroupDeadAmountIsEqual
ScriptGroupDeadAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Value

ScriptGroupDeadAmountIsGreater
ScriptGroupDeadAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Value

ScriptGroupDeadAmountIsLess
ScriptGroupDeadAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Value

ScriptGroupDeadPercentIsEqual
ScriptGroupDeadPercentIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Percent

ScriptGroupDeadPercentIsGreater
ScriptGroupDeadPercentIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Percent

ScriptGroupDeadPercentIsLess
ScriptGroupDeadPercentIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount/percentage of living/dead members of the ScriptGroup.

 Percent

ScriptGroupSquadSpawnCounterIsGreater
ScriptGroupSquadSpawnCounterIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the ScriptGroups current SquadSpawnCounter value. Requires that ScriptGroup count has been registered via RegisterSquadSpawnCounter{Group = }

 Value

ScriptGroupSquadSpawnCounterIsLess
ScriptGroupSquadSpawnCounterIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the ScriptGroups current SquadSpawnCounter value. Requires that ScriptGroup count has been registered via RegisterSquadSpawnCounter{Group = }

 Value

ScriptGroupSquadDeathCounterIsGreater
ScriptGroupSquadDeathCounterIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the ScriptGroups current SquadDeathCounter value. Requires that ScriptGroup count has been registered via RegisterSquadDeathCounter{Group = }

 Value

ScriptGroupSquadDeathCounterIsLess
ScriptGroupSquadDeathCounterIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the ScriptGroups current SquadDeathCounter value. Requires that ScriptGroup count has been registered via RegisterSquadDeathCounter{Group = }

 Value

## Barrier

BarrierIsPreview
BarrierIsBuilt
alert This function has not been verified yet! It may not be acurate

Checks if the Barrier is in prebuilt state or not.

 Tag

BarrierIsMirrored
BarrierIsNotMirrored
alert This function has not been verified yet! It may not be acurate

Checks if the Barrier is in mirrored state or not.

 Tag

BarrierIsMounted
BarrierIsNotMounted
alert This function has not been verified yet! It may not be acurate

Checks if the Barrier is mounted by any Squad.

 Tag

BarrierIsMountedByPlayer
BarrierIsNotMountedByPlayer
alert This function has not been verified yet! It may not be acurate

Checks if the Barrier is mounted by a Squad owned by the given Player.

 Tag
 Player

BarrierIsAlive
BarrierIsDestroyed
alert This function has not been verified yet! It may not be acurate

Checks intact/destroyed status of Barriers.

 Tag

BarrierGateIsOpen
BarrierGateIsNotOpen
alert This function has not been verified yet! It may not be acurate

Checks if the BarrierGate is open or not.

 Tag

BarrierGateIsClosed
BarrierGateIsNotClosed
alert This function has not been verified yet! It may not be acurate

Checks if the BarrierGate is closed or not.

 Tag

BarrierModuleAmountIsAlive
BarrierModuleAmountIsDead
alert This function has not been verified yet! It may not be acurate

Compares the remaining (alive) number of Barrier Modules in the BarrierSet.

 Tag
 Amount

BarrierModulePercentageIsAlive
BarrierModulePercentageIsDead
alert This function has not been verified yet! It may not be acurate

Compares the remaining (alive) number of Barrier Modules in the BarrierSet.

 Tag
 Percent

## Player

PlayerIsHuman
PlayerIsNotHuman
alert This function has not been verified yet! It may not be acurate

Checks if Player is a human player (== connected?).

PlayerHasJustPlayedCardId
PlayerHasNotJustPlayedCardId
alert This function has not been verified yet! It may not be acurate

Checks if the Player has just played the specified Card, or any Card if CardId = AnyCard

 CardId

PlayerHasJustPlayedCardPvEType
PlayerHasNotJustPlayedCardPvEType
alert This function has not been verified yet! It may not be acurate

Checks if the Player has just played a Card whose entity has the specified PvE Type.

 PvEType

PlayerSquadAmountIsEqual
PlayerSquadAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerSquadAmountIsGreater
PlayerSquadAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerSquadAmountIsLess
PlayerSquadAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerBuildingAmountIsEqual
PlayerBuildingAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerBuildingAmountIsGreater
PlayerBuildingAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerBuildingAmountIsLess
PlayerBuildingAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerMonumentAmountIsEqual
PlayerMonumentAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerMonumentAmountIsGreater
PlayerMonumentAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerMonumentAmountIsLess
PlayerMonumentAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerGeneratorAmountIsEqual
PlayerGeneratorAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerGeneratorAmountIsGreater
PlayerGeneratorAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerGeneratorAmountIsLess
PlayerGeneratorAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the Player(s) own the specified amount of the given entity type.

 Amount

PlayerOrbAmountIsEqual
PlayerOrbAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount of Orbs on Monuments of a specific color. Use PowerAll to count all Power Orbs together.

 Amount

PlayerOrbAmountIsGreater
PlayerOrbAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount of Orbs on Monuments of a specific color. Use PowerAll to count all Power Orbs together.

 Amount

PlayerOrbAmountIsLess
PlayerOrbAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount of Orbs on Monuments of a specific color. Use PowerAll to count all Power Orbs together.

 Amount

PlayerOrbBuildInProgressAmountIsEqual
PlayerOrbBuildInProgressAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount of Orbs of a specific color that are currently being built. Use PowerAll to count all in progress.

 Amount

PlayerOrbBuildInProgressAmountIsGreater
PlayerOrbBuildInProgressAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount of Orbs of a specific color that are currently being built. Use PowerAll to count all in progress.

 Amount

PlayerOrbBuildInProgressAmountIsLess
PlayerOrbBuildInProgressAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the amount of Orbs of a specific color that are currently being built. Use PowerAll to count all in progress.

 Amount

PlayerHasGameLost
PlayerHasNotGameLost
alert This function has not been verified yet! It may not be acurate

Checks if the Player is GameOver man, GameOver!

PlayerHasGameWon
PlayerHasNotGameWon
alert This function has not been verified yet! It may not be acurate

Checks if the Player has won the Game (match).

## !Functions

DifficultyIsEqual
DifficultyIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the mission's current difficulty level.

DifficultyIsLess
DifficultyIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the mission's current difficulty level.

DifficultyIsGreater
DifficultyIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the mission's current difficulty level.

## Object

ObjectIsOnMap
ObjectIsNotOnMap
alert This function has not been verified yet! It may not be acurate

Checks wether Objects are existent on the map.

 Tag

## Squad

SquadIsAlive
SquadIsDead
alert This function has not been verified yet! It may not be acurate

Checks living/dead status of Squads.

 Tag

SquadIsIdle
SquadIsBusy
alert This function has not been verified yet! It may not be acurate

Checks if the Squad is Idle (has nothing to do) or is somehow busy (fighting, walking, etc.).

 Tag

SquadIsInGotoMode
SquadIsNotInGotoMode
alert This function has not been verified yet! It may not be acurate

Checks if the Squad is in Goto mode, eg on the way to some target location.

 Tag

SquadIsSpellCasting
SquadIsNotSpellCasting
alert This function has not been verified yet! It may not be acurate

Checks if the Squad is casting a Spell.

 Tag

SquadHasAbility
SquadHasNotAbility
alert This function has not been verified yet! It may not be acurate

Checks if (any member of) the Squad has the given Ability.

 Tag

SquadHasAbilityLine
SquadHasNotAbilityLine
alert This function has not been verified yet! It may not be acurate

Checks if (any member of) the Squad has an Ability based on the given AbilityLine.

 Tag

SquadHasHate
SquadHasNotHate
alert This function has not been verified yet! It may not be acurate

Checks if the Squad has Hate (eg. it would like to or is about to attack something).

 Tag

SquadIsFighting
SquadIsNotFighting
alert This function has not been verified yet! It may not be acurate

Checks if the Squad is fighting.

 Tag

SquadIsInRange
SquadIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if \*any\* Squad is in range. Used as basis for filtered 'in range' checks, eg. 'PlayerSquadIsInRange'.

SquadModeIsActive
SquadModeIsNotActive
alert This function has not been verified yet! It may not be acurate

Checks if the currently active Mode has the specified ModeId.

 Tag
 ModeId

SquadModeIsEnabled
SquadModeIsDisabled
alert This function has not been verified yet! It may not be acurate

Checks if the currently active Mode is an 'enabled' or 'disabled' Mode.

 Tag

SquadWasJustHit
SquadWasNotJustHit
alert This function has not been verified yet! It may not be acurate

Checks if the Squad has just been hit by an attack or any other form of damage.

 Tag

SquadWasJustHitByPlayer
SquadWasNotJustHitByPlayer
alert This function has not been verified yet! It may not be acurate

Checks if the Squad has just been hit by a specific Player entity's attack/spell.

 Tag
 Player

SquadWasJustHitByTeam
SquadWasNotJustHitByTeam
alert This function has not been verified yet! It may not be acurate

Checks if the Squad has just been hit by a specific Team entity's attack/spell.

 Tag
 Team

SquadIdleTimerIsElapsed
SquadIdleTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Checks if the Squad was (continuously) idle for (at least) the given time.

 Tag
 Seconds
 Minutes
 ConsiderDeadAsIdle

SquadHasMeleeAttackerInRange
SquadHasNotMeleeAttackerInRange
alert This function has not been verified yet! It may not be acurate

Checks if there are any Melee units attacking this Squad in Range.

 Tag
 Range

SquadMemberAmountIsAlive
SquadMemberAmountIsDead
alert This function has not been verified yet! It may not be acurate

Compares the remaining (alive) number of Squad members with the original amount.

 Tag
 Amount

SquadMemberPercentageIsAlive
SquadMemberPercentageIsDead
alert This function has not been verified yet! It may not be acurate

Compares the remaining (alive) number of Squad members with the original amount.

 Tag
 Percent

SquadIsMountedOnBarrier
SquadIsNotMountedOnBarrier
alert This function has not been verified yet! It may not be acurate

Checks if the Squas has mounted a Barrier.

 Tag

## Entity

EntityHealthPercentIsLowest
EntityHealthPercentIsNotLowest
alert This function has not been verified yet! It may not be acurate

Checks if the entity has the lowest/greatest health among the other entities.

 TargetTag

EntityHealthPercentIsGreatest
EntityHealthPercentIsNotGreatest
alert This function has not been verified yet! It may not be acurate

Checks if the entity has the lowest/greatest health among the other entities.

 TargetTag

EntityIsAlive
EntityIsDead
alert This function has not been verified yet! It may not be acurate

Checks living/dead status of Entity, means different things for different Entity types.

 Tag

EntityHealthIsGreater
EntityHealthIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the health (lifepoints) status of entities.

 Tag
 Percent

EntityHealthIsLess
EntityHealthIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the health (lifepoints) status of entities.

 Tag
 Percent

EntityIsInPlayableArea
EntityIsNotInPlayableArea
alert This function has not been verified yet! It may not be acurate

Checks if the entity is inside the map's playable area.

 Tag

EntityIsInVisibleArea
EntityIsNotInVisibleArea
alert This function has not been verified yet! It may not be acurate

Checks if the entity is inside the map's visible area.

 Tag

EntityIsInRange
EntityIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if an Entity/Group (with the given Tag) is in Range to (any of) the Target(s).

 Tag
 TargetTag
 Range

EntityIsOwnedByPlayer
EntityIsNotOwnedByPlayer
alert This function has not been verified yet! It may not be acurate

Checks if the entity is owned by the specified Player.

 Tag
 Player

EntityIsOwnedByTeam
EntityIsNotOwnedByTeam
alert This function has not been verified yet! It may not be acurate

Checks if the entity is owned by the specified Player.

 Tag
 Team

EntitySpellCastIsBlocked
EntitySpellCastIsNotBlocked
alert This function has not been verified yet! It may not be acurate

Checks if casting of this Spell is currently blocked (Recast-Time, already casting Spell, etc.).

 Tag
 SpellId
 DoGotoCheck

EntityHasJustCastedSpell
EntityHasNotJustCastedSpell
alert This function has not been verified yet! It may not be acurate

Checks if the Entity has just casted the specified Spell, or any Spell if SpellId = AnySpell

 Tag
 SpellId

## Variable

PlayerFlagIsTrue
PlayerFlagIsFalse
alert This function has not been verified yet! It may not be acurate

Checks if the flag has the desired value.

 Name

PlayerValueIsEqual
PlayerValueIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Name
 Value

PlayerValueIsGreater
PlayerValueIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Name
 Value

PlayerValueIsLess
PlayerValueIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Name
 Value

PlayerTimerIsElapsed
PlayerTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Checks if the given amount of time has passed since Timer was started.

 Name
 Seconds
 Minutes

PlayerTimerIsRunning
PlayerTimerIsNotRunning
alert This function has not been verified yet! It may not be acurate

Checks if the Timer is running or not.

 Name

MapFlagIsTrue
MapFlagIsFalse
alert This function has not been verified yet! It may not be acurate

Checks if the flag has the desired value.

EntityFlagIsTrue
EntityFlagIsFalse
alert This function has not been verified yet! It may not be acurate

Checks if the flag has the desired value.

NetworkFlagIsTrue
NetworkFlagIsFalse
alert This function has not been verified yet! It may not be acurate

Checks if the flag has the desired value.

MapValueIsEqual
MapValueIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

MapValueIsGreater
MapValueIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

MapValueIsLess
MapValueIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

EntityValueIsEqual
EntityValueIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

EntityValueIsGreater
EntityValueIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

EntityValueIsLess
EntityValueIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

NetworkValueIsEqual
NetworkValueIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

NetworkValueIsGreater
NetworkValueIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

NetworkValueIsLess
NetworkValueIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 Value

MapTimerIsElapsed
MapTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Checks if the given amount of time has passed since Timer was started.

 Seconds
 Minutes

EntityTimerIsElapsed
EntityTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Checks if the given amount of time has passed since Timer was started.

 Seconds
 Minutes

MapTimerIsRunning
MapTimerIsNotRunning
alert This function has not been verified yet! It may not be acurate

Checks whether the Timer is running or stopped.

EntityTimerIsRunning
EntityTimerIsNotRunning
alert This function has not been verified yet! It may not be acurate

Checks whether the Timer is running or stopped.

MapValueIsEqualComparedTo
MapValueIsNotEqualComparedTo
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CompareTo

MapValueIsGreaterComparedTo
MapValueIsLessOrEqualComparedTo
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CompareTo

MapValueIsLessComparedTo
MapValueIsGreaterOrEqualComparedTo
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CompareTo

EntityValueIsEqualComparedTo
EntityValueIsNotEqualComparedTo
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CompareTo

EntityValueIsGreaterComparedTo
EntityValueIsLessOrEqualComparedTo
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CompareTo

EntityValueIsLessComparedTo
EntityValueIsGreaterOrEqualComparedTo
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CompareTo

## Boolean

AND
NotAND
alert This function has not been verified yet! It may not be acurate

All/NotAll contained Conditions must be true.

OR
NotOR
alert This function has not been verified yet! It may not be acurate

Any/No contained Condition must be true.

## Mission

MissionDifficultyIsEqual
MissionDifficultyIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks the game's current difficulty. Note: difficulty NEVER changes during a match!

MissionDifficultyIsGreater
MissionDifficultyIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the game's current difficulty. Note: difficulty NEVER changes during a match!

MissionDifficultyIsLess
MissionDifficultyIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks the game's current difficulty. Note: difficulty NEVER changes during a match!

MissionCounterIsEqual
MissionCounterIsNotEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CounterTag
 Value

MissionCounterIsGreater
MissionCounterIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CounterTag
 Value

MissionCounterIsLess
MissionCounterIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Checks if the value satisfies the condition.

 CounterTag
 Value

MissionTimerHasRunOut
MissionTimerHasNotRunOut
alert This function has not been verified yet! It may not be acurate

Checks if the Mission Timer has run out of time (reached 00:00).

 TimerTag

MissionTimerIsElapsed
MissionTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Checks if the (forward running) Mission Timer has elapsed.

 TimerTag
 Seconds
 Minutes

MissionTimerIsDisplayed
MissionTimerIsNotDisplayed
alert This function has not been verified yet! It may not be acurate

Checks if the Mission Timer is displayed (running but could also be paused).

 TimerTag

MissionStartTimerIsElapsed
MissionStartTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Checks if the given amount of time has passed since the Mission started.

 Minutes

## Squad

SquadVanishInRange
MissionStartTimerIsNotElapsed
alert This function has not been verified yet! It may not be acurate

Removes Squads of the given ScriptGroup in range.

 TargetTag
 Range

TeamSquadTeleportInRange
alert This function has not been verified yet! It may not be acurate

Teleports Squads in Range of the specified Team to the TargetTag location.

 Range
 TargetTag
 Team

PlayerSquadTeleportInRange
alert This function has not been verified yet! It may not be acurate

Teleports Squads in Range of the specified Player to the TargetTag location.

 Range
 TargetTag
 Player

SquadRangedBarrierMount
alert This function has not been verified yet! It may not be acurate

Only ranged Squads try to mount the TargetTag Barrier.

 TargetTag

SquadIdleBarrierMount
alert This function has not been verified yet! It may not be acurate

Only idle Squads try to mount the TargetTag Barrier.

 TargetTag

SquadRangedIdleBarrierMount
alert This function has not been verified yet! It may not be acurate

Only ranged idle Squads try to mount the TargetTag Barrier.

 TargetTag

SquadIdBarrierMount
alert This function has not been verified yet! It may not be acurate

Only Squads with specified database ID try to mount the TargetTag Barrier.

 TargetTag
 SquadId

SquadIdIdleBarrierMount
alert This function has not been verified yet! It may not be acurate

Only idle Squads with specified database ID try to mount the TargetTag Barrier.

 TargetTag
 SquadId

SquadIdleGoto
alert This function has not been verified yet! It may not be acurate

Only Squads that are currently idle execute the Goto command.

 TargetTag
 Run
 Direction

SquadIdleGotoRandom
alert This function has not been verified yet! It may not be acurate

Only Squads that are currently idle execute the Goto command.

 TargetTag
 Run

SquadIdleGotoFight
alert This function has not been verified yet! It may not be acurate

Only Squads that are currently idle execute the Goto command.

 TargetTag
 Run
 Direction

SquadRandomGoto
alert This function has not been verified yet! It may not be acurate

Only a random amount of Squads execute the Goto command.

 TargetTag
 Run
 Direction
 Percent

SquadIdleRandomGoto
alert This function has not been verified yet! It may not be acurate

Only a random amount of Squads that are currently idle execute the Goto command.

 TargetTag
 Run
 Direction
 Percent

SquadRandomGotoRandom
alert This function has not been verified yet! It may not be acurate

Only randomly picked Squads that are execute the Goto command.

 TargetTag
 Run
 Percent

SquadIdleRandomGotoRandom
alert This function has not been verified yet! It may not be acurate

Only randomly picked Squads that are execute the Goto command.

 TargetTag
 Run
 Percent

SquadAmountPatrol
alert This function has not been verified yet! It may not be acurate

Only the specified amount of Squads in the ScriptGroup execute the Goto command.

 TargetTag
 Amount

SquadIdleAmountPatrol
alert This function has not been verified yet! It may not be acurate

Only the specified amount of Squads and if they are idle execute the Goto command.

 TargetTag
 Amount

SquadGotoClosestPlayerMonumentOrGenerator
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest M/G owned by Player. Continues goto after being attacked.

 Run
 SearchRadius
 Player

SquadGotoClosestTeamMonumentOrGenerator
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest M/G owned by Team. Continues goto after being attacked.

 Run
 SearchRadius
 Team

SquadGotoClosestPlayerSquad
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Squad owned by Player. Continues goto after being attacked.

 Run
 SearchRadius
 Player

SquadGotoClosestTeamSquad
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Squad owned by Team. Continues goto after being attacked.

 Run
 SearchRadius
 Team

SquadGotoClosestPlayerBuilding
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Building owned by Player. Continues goto after being attacked.

 Run
 SearchRadius
 Player

SquadGotoClosestTeamBuilding
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Building owned by Team. Continues goto after being attacked.

 Run
 SearchRadius
 Team

SquadGotoClosestPlayerBarrier
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Barrier owned by Player. Continues goto after being attacked.

 Run
 SearchRadius
 Player

SquadGotoClosestTeamBarrier
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest Barrier owned by Team. Continues goto after being attacked.

 Run
 SearchRadius
 Team

SquadGotoClosestPlayerTarget
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest attackable Target owned by Player. Continues goto after being attacked.

 Run
 SearchRadius
 Player
 IgnoreUnattackable

SquadGotoClosestTeamTarget
alert This function has not been verified yet! It may not be acurate

Squad(s) go towards closest attackable Target owned by Team. Continues goto after being attacked.

 Run
 SearchRadius
 Team
 IgnoreUnattackable

TeamSquadInRangePushBack
alert This function has not been verified yet! It may not be acurate

PushBack only for Squads from the specified Team.

 Range
 Speed
 MaxRadiusType
 Team

PlayerSquadInRangePushBack
alert This function has not been verified yet! It may not be acurate

PushBack only for Squads from the specified Player.

 Range
 Speed
 MaxRadiusType
 Player

## Building

TeamBuildingKillInRange
alert This function has not been verified yet! It may not be acurate

Kills buildings in range.

 TargetTag
 Range

PlayerBuildingKillInRange
alert This function has not been verified yet! It may not be acurate

Kills buildings in range.

 TargetTag
 Range

TeamBuildingKillableKillInRange
alert This function has not been verified yet! It may not be acurate

Kills buildings in range, unless it is unkillable.

 TargetTag
 Range

PlayerBuildingKillableKillInRange
alert This function has not been verified yet! It may not be acurate

Kills buildings in range, unless it is unkillable.

 TargetTag
 Range

## Entity

EntitySpellCastOnClosestPlayerSquad
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Squad. Target must be valid for the given Spell.

 SpellId
 Player

EntitySpellCastOnClosestTeamSquad
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Squad. Target must be valid for the given Spell.

 SpellId
 Team

EntitySpellCastOnClosestPlayerBuilding
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Building. Target must be valid for the given Spell.

 SpellId
 Player

EntitySpellCastOnClosestTeamBuilding
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Building. Target must be valid for the given Spell.

 SpellId
 Team

EntitySpellCastOnClosestPlayerGenerator
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Generator. Target must be valid for the given Spell.

 SpellId
 IgnoreEmpty
 Player

EntitySpellCastOnClosestTeamGenerator
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest Generator. Target must be valid for the given Spell.

 SpellId
 IgnoreEmpty
 Team

EntitySpellCastOnClosestPlayerTarget
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest attackable Target. Target must be valid for the given Spell.

 SpellId
 Player
 IgnoreUnattackable

EntitySpellCastOnClosestTeamTarget
alert This function has not been verified yet! It may not be acurate

Lets the Entity(s) cast the given Spell on the closest attackable Target. Target must be valid for the given Spell.

 SpellId
 Team
 IgnoreUnattackable

EntityPvETypeKillInRange
alert This function has not been verified yet! It may not be acurate

Kills entities with specified PvEType in range.

 Range
 PvEType

TeamEntityPvETypeKillInRange
alert This function has not been verified yet! It may not be acurate

Kills entities with specified PvEType in range.

 TargetTag
 Range
 PvEType

PlayerEntityPvETypeKillInRange
alert This function has not been verified yet! It may not be acurate

Kills entities with specified PvEType in range.

 TargetTag
 Range
 PvEType

## Squad

SquadAliveIsIdle
SquadAliveIsBusy
alert This function has not been verified yet! It may not be acurate

Checks if the living Squads are idle or busy (avoids trap if one squad of group is dead but check is for all).

 Tag

SquadIdleIsInRange
SquadIdleIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if an idle Squad is in Range to (any of) the Target(s).

 Tag
 TargetTag
 Range

SquadPvETypeIsInRange
SquadPvETypeIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad with given PvE Type is in Range to (any of) the Target(s).

 Range
 PvEType

SquadPvETypeAmountIsInRange
SquadPvETypeAmountIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if amount Squads with PvE Type are in Range to (any of) the Target(s).

 Range
 PvEType
 Amount

SquadFlyingIsInRange
SquadFlyingIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a flying Squad is in Range to (any of) the Target(s).

 Range

SquadOnGroundIsInRange
SquadOnGroundIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad that is NOT flying is in Range to (any of) the Target(s).

 Range

PlayerSquadIsInRange
PlayerSquadIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad of a specified Player is in Range to (any of) the Target(s).

 TargetTag
 Range

PlayerSquadFlyingIsInRange
PlayerSquadFlyingIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad of a specified Player is in Range to (any of) the Target(s).

 TargetTag
 Range

PlayerSquadOnGroundIsInRange
PlayerSquadOnGroundIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad of a specified Player is in Range to (any of) the Target(s).

 TargetTag
 Range

TeamSquadIsInRange
TeamSquadIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad of a specified Team is in Range to (any of) the Target(s).

 TargetTag
 Range

TeamSquadFlyingIsInRange
TeamSquadFlyingIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad of a specified Team is in Range to (any of) the Target(s).

 TargetTag
 Range

TeamSquadOnGroundIsInRange
TeamSquadOnGroundIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad of a specified Team is in Range to (any of) the Target(s).

 TargetTag
 Range

SquadIdIsInRange
SquadIdIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Squad with the specified ID is in Range to (any of) the Target(s).

 TargetTag
 Range

## Building

PlayerBuildingIsInRange
PlayerBuildingIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Building of a specified Player is in Range to (any of) the Target(s).

 TargetTag
 Range

TeamBuildingIsInRange
TeamBuildingIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Building of a specified Team is in Range to (any of) the Target(s).

 TargetTag
 Range

PlayerBuildingKillableIsInRange
PlayerBuildingKillableIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Building of a specified Player is in Range to (any of) the Target(s).

 TargetTag
 Range

TeamBuildingKillableIsInRange
TeamBuildingKillableIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Building of a specified Team is in Range to (any of) the Target(s).

 TargetTag
 Range

BuildingIdIsInRange
BuildingIdIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Building with the specified ID is in Range to (any of) the Target(s).

 TargetTag
 Range

BuildingPvETypeIsInRange
BuildingPvETypeIsNotInRange
alert This function has not been verified yet! It may not be acurate

Checks if a Building with given PvE Type is in Range to (any of) the Target(s).

 Range
 PvEType

BuildingPvETypeAmountIsInRange
BuildingPvETypeAmountIsInRange
alert This function has not been verified yet! It may not be acurate

Checks if amount Buildings with PvE Type are in Range to (any of) the Target(s).

 Range
 PvEType
 Amount

## Filter

FilterEntityHasAbility
FilterEntityHasNotAbility
alert This function has not been verified yet! It may not be acurate

Filters based on entity's ability.

FilterEntityHasAbilityLine
FilterEntityHasNotAbilityLine
alert This function has not been verified yet! It may not be acurate

Filters based on entity's abilityline.

FilterEntityIsAlive
FilterEntityIsDead
alert This function has not been verified yet! It may not be acurate

Filters entity by alive/dead status.

FilterEntityAmountIsLess
FilterEntityAmountIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Filters for a specific number of entities.

FilterEntityAmountIsGreater
FilterEntityAmountIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Filters for a specific number of entities.

FilterEntityAmountIsEqual
FilterEntityAmountIsNotEqual
alert This function has not been verified yet! It may not be acurate

Filters for a specific number of entities.

FilterEntityIsAttackable
FilterEntityIsNotAttackable
alert This function has not been verified yet! It may not be acurate

Filters entity by attackable status (includes check for 'unattackable' abilities).

FilterEntityCanProducePower
FilterEntityCanNotProducePower
alert This function has not been verified yet! It may not be acurate

Filters for power production (mostly generators).

FilterEntityIsBuilding
FilterEntityIsNotBuilding
alert This function has not been verified yet! It may not be acurate

Filters entity by category Building.

FilterEntityIsObject
FilterEntityIsNotObject
alert This function has not been verified yet! It may not be acurate

Filters entity by category Object.

FilterEntityIsSquad
FilterEntityIsNotSquad
alert This function has not been verified yet! It may not be acurate

Filters entity by category Squad.

FilterSquadIsFlying
FilterSquadIsNotFlying
alert This function has not been verified yet! It may not be acurate

Filters Squad by flying ability.

FilterEntityIsInRange
FilterEntityIsNotInRange
alert This function has not been verified yet! It may not be acurate

Filters entity wether it is in range to any of the TargetTag entities.

 Range

FilterSquadIsIdle
FilterSquadIsBusy
alert This function has not been verified yet! It may not be acurate

Filters idle squads.

FilterEntityIsOwnedByPlayer
FilterEntityIsNotOwnedByPlayer
alert This function has not been verified yet! It may not be acurate

Filters entity by player pwnage.

FilterSquadIsPrimaryRanged
FilterSquadIsMelee
alert This function has not been verified yet! It may not be acurate

Filters Squads based on wether they are Melee or PrimaryRanged.

FilterEntityHasPvEType
FilterEntityHasNotPvEType
alert This function has not been verified yet! It may not be acurate

Filters for PvE Type of an entity.

FilterIsRandomPercent
FilterIsNotRandomPercent
alert This function has not been verified yet! It may not be acurate

Filters entities by a random-percent chance.

FilterEntityHasResId
FilterEntityHasNotResId
alert This function has not been verified yet! It may not be acurate

Filters based on entity ResId.

FilterEntityIsOwnedByTeam
FilterEntityIsNotOwnedByTeam
alert This function has not been verified yet! It may not be acurate

Filters entity by team pwnage.

FilterEntityThreatValueIsLess
FilterEntityThreatValueIsGreaterOrEqual
alert This function has not been verified yet! It may not be acurate

Filters for threatvalue of an entity.

FilterEntityThreatValueIsGreater
FilterEntityThreatValueIsLessOrEqual
alert This function has not been verified yet! It may not be acurate

Filters for threatvalue of an entity.