PerftestFunc

## 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.

{{GDSFunctionParameter|Type=string|Name=MarkerTag|Desc=The tag of this UI Marker, used to properly (re)move it later.
{{GDSFunctionParameter|Type=string|Name=Widget|Desc=The name (reference string) of a Widget.
{{GDSFunctionParameter|Type=string|Name=MarkerFileName|Desc=The template file of the marker. Folder: bf1/ui/

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.

{{GDSFunctionParameter|Type=string|Name=MarkerTag|Desc=The tag of this UI Marker, used to properly (re)move it later.
{{GDSFunctionParameter|Type=string|Name=Widget|Desc=The name (reference string) of a Widget.
{{GDSFunctionParameter|Type=string|Name=MarkerFileName|Desc=The template file of the marker. Folder: bf1/ui/
{{GDSFunctionParameter|Type=string|Name=DetailFileName|Desc=The template file of the detail stuff (optional). Folder: bf1/ui/

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=PvEType|Desc=The name of a PvE Type.

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.

{{GDSFunctionParameter|Type=string|Name=Ambient|Desc=file relative to 'bf1/sound/streams/', no extension!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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%.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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%.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Starts the effect on the TargetTag entities.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Effect|Desc=file relative to 'bf1/gfx/effects/', no extension!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Effect|Desc=file relative to 'bf1/gfx/effects/', no extension!

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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.

{{GDSFunctionParameter|Type=string|Name=Weather|Desc=RenderSettings file from 'bf1/map/lighting/' folder, w/o extension!

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

Plays the specified Sound FX at the TargetTag position.

{{GDSFunctionParameter|Type=string|Name=Sound|Desc=file relative to 'bf1/sound/ram/', no extension!

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.

{{GDSFunctionParameter|Type=string|Name=Voice|Desc=file relative to 'bf1/sound/streams/', no extension!

## Building

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=number|Name=BuildingId|Desc=The DB ID of a Building - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=number|Name=BuildingId|Desc=The DB ID of a Building - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=BuildingId|Desc=The DB ID of a Building - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=BuildingId|Desc=The DB ID of a Building - to be replaced by DB ScriptTag!

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

Changes the type of an entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Plays the Building animation once.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Plays the Building animation in a loop.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

## 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.

{{GDSFunctionParameter|Type=string|Name=CameraPath|Desc=Camera path.
{{GDSFunctionParameter|Type=string|Name=Camera|Desc=Camera takes from the 'camera' folder of the map (without extension '.CS').

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

Plays the specified Camera Track in fullscreen mode.

{{GDSFunctionParameter|Type=string|Name=CameraPath|Desc=Camera path.
{{GDSFunctionParameter|Type=string|Name=Camera|Desc=Camera takes from the 'camera' folder of the map (without extension '.CS').

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

Starts a Cutscene.

{{GDSFunctionParameter|Type=string|Name=Music|Desc=file relative to 'bf1/sound/streams/', no extension!

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Displays text during a Cutscene.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TextTag|Desc=The Tag of a Text from database.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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!

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

## Squad

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!

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

Changes the type of an entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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!

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc='WhereDied' for position of death or 'StartPos' for startposition.

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!

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc='WhereDied' for position of death or 'StartPos' for startposition.

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!

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc='WhereDied' for position of death or 'StartPos' for startposition.

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

Instantly teleports the Squads in range to TargetTag location.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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!

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Distance|Desc=Distance in meters. Decimal places are allowed.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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!

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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

Squad goes randomly towards ONE of the TargetTags.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Plays the animation once for all figures in the Squad.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Unit|Desc=A subfolder from the 'bf1/gfx/units/' folder.

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

Plays the animation continuously for all figures in the Squad.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Unit|Desc=A subfolder from the 'bf1/gfx/units/' folder.

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=table|Name=SpawnTable|Desc=Must be a table with specific syntax, see command description.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

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).

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=table|Name=SpawnTable|Desc=Must be a table with specific syntax, see command description.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

## OctoberVersionOnly

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

Does damage to Squads in Range.

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.

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

Does damage to Squads in Range.

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Does damage to Squads in Range.

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

## 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).

{{GDSFunctionParameter|Type=string|Name=Message|Desc=An important Message from you to whom it may concern.

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

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

{{GDSFunctionParameter|Type=string|Name=Message|Desc=An important Message from you to whom it may concern.

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

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

{{GDSFunctionParameter|Type=string|Name=Message|Desc=An important Message from you to whom it may concern.

## Ability

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity. Cannot be a script group!
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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

Removes the tag from the ScriptGroup.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=AimTag|Desc=Where to aim at (direction). Can be empty if not needed. ScriptGroup not supported.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=CardSquadId|Desc=The DB ID of a CardSquad - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.
{{GDSFunctionParameter|Type=boolean|Name=DoSpell|Desc=Wether the CardSquad's Spell should be executed or not.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=number|Name=CardSquadId|Desc=The DB ID of a CardSquad - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.
{{GDSFunctionParameter|Type=boolean|Name=DoSpell|Desc=Wether the CardSquad's Spell should be executed or not.

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

GameOver man, GameOver!

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Gives Power to or takes Power from a Player.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Builds a Generator so it generates energy for that Player.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Builds an Orb on a Monument for that Player.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.

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!

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

## Object

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=ObjectId|Desc=The DB ID of an Object - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.
{{GDSFunctionParameter|Type=number|Name=Height|Desc=Height in meters. Decimal places and negative values are ok, 0 == on the ground

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

Spawns (creates) an entity on the map.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=ObjectId|Desc=The DB ID of an Object - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.
{{GDSFunctionParameter|Type=number|Name=Height|Desc=Height in meters. Decimal places and negative values are ok, 0 == on the ground

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

Changes the type of an entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Plays the animation continuously on the Object.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

## Entity

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

Adds or removes Abilities of an entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=AbilityId|Desc=The DB ID of an Ability - to be replaced by DB ScriptTag!

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

Adds or removes Abilities of an entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=AbilityId|Desc=The DB ID of an Ability - to be replaced by DB ScriptTag!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Changes Direction of an Entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

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

Changes Direction of an Entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

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

Changes Direction of an Entity.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Percent|Desc=A percentage from 0-100 (do not write the % sign).

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

Set the max health (lifepoints) of the entity.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Adds the Spell to the Entity unless it already exists.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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).

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

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

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

## 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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the network variable. Value is limited to 0-255 range!

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the network variable. Value is limited to 0-255 range!

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the network variable. Value is limited to 0-255 range!

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Changes the flag accordingly.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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

Starts/Stops a Timer.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Starts/Stops a Timer.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

## 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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Puts a message into the EventQueue.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Puts a message into the EventQueue.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Puts a message into the EventQueue.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Show an Alert on MiniMap at the specified TargetTag location.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TextTag|Desc=The Tag of a Text from database.
{{GDSFunctionParameter|Type=string|Name=Text|Desc=The text to show if the TextTag text does not exist.
{{GDSFunctionParameter|Type=number|Name=DurationSeconds|Desc=Duration for the outcry in integer seconds, default is 5.

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

Adds, removes or modifies a Mission Task.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TaskTag|Desc=The 'tag' of the MissionTask to be modified.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Adds, removes or modifies a Mission Task.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TaskTag|Desc=The 'tag' of the MissionTask to be modified.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Adds, removes or modifies a Mission Task.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TaskTag|Desc=The 'tag' of the MissionTask to be modified.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=string|Name=Summary|Desc=A short summary for the MissionGoal or EventQueue message.

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

Adds, removes or modifies a Mission Task.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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').

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=CounterTag|Desc=A unique Tag for the Mission Counter.
{{GDSFunctionParameter|Type=string|Name=LocaTag|Desc=A LocaTag from database, if LocaTag does not exist it's simply the Text displayed.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Adds a Mission Timer displayed onscreen.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TimerTag|Desc=A unique Tag for the Mission Timer.
{{GDSFunctionParameter|Type=string|Name=LocaTag|Desc=A LocaTag from database, if LocaTag does not exist it's simply the Text displayed.
{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TimerTag|Desc=A unique Tag for the Mission Timer.
{{GDSFunctionParameter|Type=string|Name=TimerTagOld|Desc=The TimerTag of the existing timer whose text should be changed.

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

Removes the Mission Timer from onscreen display and stops it.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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!

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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!

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Changes the value accordingly.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=CounterTag|Desc=The name of the Mission Counter.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

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

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

## 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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks intact/destroyed status of Buildings.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

## 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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Group|Desc=A ScriptGroup.

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 = }

{{GDSFunctionParameter|Type=string|Name=Group|Desc=The name of the ScriptGroup for which a SquadSpawnCounter is registered.

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 = }

{{GDSFunctionParameter|Type=string|Name=Group|Desc=The name of the ScriptGroup for which a SquadSpawnCounter is registered.

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 = }

{{GDSFunctionParameter|Type=string|Name=Group|Desc=The name of the ScriptGroup for which a SquadDeathCounter is registered.

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 = }

{{GDSFunctionParameter|Type=string|Name=Group|Desc=The name of the ScriptGroup for which a SquadDeathCounter is registered.

## 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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks if the Barrier is mounted by any Squad.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Checks intact/destroyed status of Barriers.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks if the BarrierGate is open or not.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks if the BarrierGate is closed or not.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

## 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

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

## Squad

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

Checks living/dead status of Squads.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.).

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks if the Squad is casting a Spell.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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).

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks if the Squad is fighting.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.
{{GDSFunctionParameter|Type=number|Name=Minutes|Desc=Number, in Minutes. Fractions are also allowed.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Checks if the Squas has mounted a Barrier.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

## 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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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

Checks the health (lifepoints) status of entities.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Checks the health (lifepoints) status of entities.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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).

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.).

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!

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

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

## Variable

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

Checks if the flag has the desired value.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player variable.

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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the player timer.
{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.

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

Checks if the Timer is running or not.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the network variable. Value is limited to 0-255 range!

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the network variable. Value is limited to 0-255 range!

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the network variable. Value is limited to 0-255 range!

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map timer.
{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity timer.
{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.

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.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the map variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Name|Desc=The name of the entity variable.

## 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.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=CounterTag|Desc=The name of the Mission Counter.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=CounterTag|Desc=The name of the Mission Counter.

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

Checks if the value satisfies the condition.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=CounterTag|Desc=The name of the Mission Counter.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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

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

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TimerTag|Desc=The name of the Mission Timer.
{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player or a ScriptGroup of Players or 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=number|Name=Seconds|Desc=Number, in Seconds. Fractions are also allowed, in 0.1 increments.

## Squad

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

Removes Squads of the given ScriptGroup in range.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Only ranged Squads try to mount the TargetTag Barrier.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Only idle Squads try to mount the TargetTag Barrier.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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

Only ranged idle Squads try to mount the TargetTag Barrier.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Only Squads that are currently idle execute the Goto command.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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

Only Squads that are currently idle execute the Goto command.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Only Squads that are currently idle execute the Goto command.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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

Only a random amount of Squads execute the Goto command.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=Direction|Desc=Direction in degrees (0-360°). 0 means 'south' (down), 90 means 'east' (right), etc.

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

Only randomly picked Squads that are execute the Goto command.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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

Only randomly picked Squads that are execute the Goto command.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=boolean|Name=Run|Desc=Changes WalkSpeed, running is default. Walking may look dull for large figures.
{{GDSFunctionParameter|Type=number|Name=SearchRadius|Desc=The (max.) Radius around the Tag that should be searched.
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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

PushBack only for Squads from the specified Team.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.
{{GDSFunctionParameter|Type=number|Name=Speed|Desc=Speed in meters per second. Decimal places allowed.
{{GDSFunctionParameter|Type=number|Name=MaxRadiusType|Desc=Can be: RadiusType\_S, ..\_M, ..\_L, ..\_XL (see BEE).

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

PushBack only for Squads from the specified Player.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.
{{GDSFunctionParameter|Type=number|Name=Speed|Desc=Speed in meters per second. Decimal places allowed.
{{GDSFunctionParameter|Type=number|Name=MaxRadiusType|Desc=Can be: RadiusType\_S, ..\_M, ..\_L, ..\_XL (see BEE).

## Building

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

Kills buildings in range.

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Kills buildings in range.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Kills buildings in range, unless it is unkillable.

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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

Kills buildings in range, unless it is unkillable.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

## 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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=boolean|Name=IgnoreEmpty|Desc=Wether empty (no more energy left) Generators will be ignored.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=boolean|Name=IgnoreEmpty|Desc=Wether empty (no more energy left) Generators will be ignored.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.

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.

{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=number|Name=SpellId|Desc=The DB ID of a Spell - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.

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

Kills entities with specified PvEType in range.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.

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

Kills entities with specified PvEType in range.

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.

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

Kills entities with specified PvEType in range.

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.

## 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).

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.

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).

{{GDSFunctionParameter|Type=string|Name=For|Desc=Determines when the condition is satisfied if multiple entities are used.
{{GDSFunctionParameter|Type=string|Name=Tag|Desc=A ScriptTag or ScriptGroup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.
{{GDSFunctionParameter|Type=string|Name=PvEType|Desc=The name of a PvE Type.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=number|Name=SquadId|Desc=The DB ID of a Squad - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

## 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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Player|Desc=The name of a Player. Must not be a ScriptGroup and not 'All'/'Any'/etc.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=Team|Desc=The name of a Team from the map's TeamSetup.
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=number|Name=BuildingId|Desc=The DB ID of a Building - to be replaced by DB ScriptTag!
{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.

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).

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity.
{{GDSFunctionParameter|Type=number|Name=Range|Desc=The Radius around the TargetTag(s) that is considered to be 'in range'.
{{GDSFunctionParameter|Type=string|Name=PvEType|Desc=The name of a PvE Type.

## 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.

{{GDSFunctionParameter|Type=string|Name=TargetTag|Desc=The ScriptTag of the 'target' entity. (It should exist!)

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.