function EnemyTroops takes nothing returns boolean
return IsUnitEnemy( GetFilterUnit(), ConvertedPlayer( udg_AI_PlayerNumber ) ) and IsUnitAliveBJ( GetFilterUnit() ) //and GetConvertedPlayerId(GetOwningPlayer(GetFilterUnit())) < 6
endfunction
// ********************************************************************
// checks if the unit type is a captain of the batalion
// returns array index defined in initialization, otherwise returns 0
function IsCaptain takes integer captain returns integer
local integer i = 1
loop
if ( captain == udg_BattalionCaptain[i] ) then
return i
endif
exitwhen i > udg_NrTypes
set i = i + 1
endloop
return 0
endfunction
// ********************************************************************
// returns captain unit of the batalion
function GetCaptain takes group batalion returns unit
local unit captain
local group tempgroup = CreateGroup()
call GroupAddGroup(batalion,tempgroup)
loop
set captain = FirstOfGroup(tempgroup)
exitwhen LoadInteger(udg_hashtable, GetHandleId(captain), 1) == 1 // or captain == null
call GroupRemoveUnit( tempgroup, captain )
endloop
call DestroyGroup(tempgroup)
set tempgroup = null
return captain
endfunction
// ********************************************************************
// checks if batalion has all his units
function IsComplete takes unit captain returns boolean
local integer battallionIndex = LoadInteger(udg_hashtable, GetHandleId(captain), 0)
if ( battallionIndex == 0 ) then
return true
endif
if ( CountUnitsInGroup( udg_Battallion[battallionIndex] ) == udg_BattalionSize[IsCaptain(GetUnitTypeId( captain ))] +1 ) then
return true
else
return false
endif
endfunction
// ********************************************************************
function GetOrderAbility takes integer batalionOrder, integer caster returns integer
local integer i = 1
loop
exitwhen i == 30
if ( batalionOrder == udg_BattalionSpellOrderID[i] and caster == udg_BattalionSpellCaster[i] ) then
return i
endif
set i = i + 1
endloop
return 0
endfunction
function GetBatalionAbility takes integer batalionSpell returns integer
local integer i = 1
loop
exitwhen i == 30
if ( batalionSpell == udg_BattalionSpellAbility[i] ) then
return i
endif
set i = i + 1
endloop
return 0
endfunction
Name | Type | is_array | initial_value |
AcolyteBuilder | unit | No | |
AI_AttackGroup | group | Yes | |
AI_Defenders | group | Yes | |
AI_Movement | group | Yes | |
AI_Player_Copy | player | No | |
AI_PlayerNumber | integer | No | 0 |
AmogusImages | image | Yes | |
AmogusInt | integer | No | 1 |
AmogusTimer | timer | No | |
ArmyExtractHelio | unit | No | |
ArmyExtractPoint | location | No | |
ArmyGroup | group | No | |
ArmyObjectivePoint | location | No | |
ArmyRandomInt | integer | No | |
ArmySpawnHelio | unit | No | |
ArmySpawnPoint | location | No | |
ArthasAUGMENT | boolean | No | |
ArthasChargeDamageGroup | group | No | |
ArthasChargeDamageGroupAUGMENT | group | No | |
ArthasChargePoint | location | No | |
ArthasChargeTimer | timer | No | |
ArthasDeathPoint | location | No | |
ArthasFlowerInt | integer | No | |
ArthasFlowerPoints | location | Yes | |
ArthasFlowerTimer | timer | No | |
ArthasGuardSFX | effect | No | |
ArthasSwingPoint | location | No | |
ArthasTarget | unit | No | |
ArthasTargetFace | real | No | |
ArthasUltTimer | timer | No | |
ArthasUnit | unit | No | |
ArtUltInt | integer | No | |
BaseCommand | unit | Yes | |
BatalionHash_Beast | integer | No | 9 |
BatalionHash_Crew | integer | No | 8 |
BatalionHash_Guards | integer | No | 6 |
BatalionHash_Order | integer | No | 2 |
BatalionHash_Summonable | integer | No | 7 |
BatalionHash_TargetUnit | integer | No | 5 |
BatalionHash_TargetX | integer | No | 3 |
BatalionHash_TargetY | integer | No | 4 |
BattalionCaptain | unitcode | Yes | |
BattalionGoldCost | integer | Yes | |
BattalionPowerCost | integer | Yes | |
BattalionSize | integer | Yes | |
BattalionSpellAbility | abilcode | Yes | |
BattalionSpellCaster | unitcode | Yes | |
BattalionSpellOrderID | integer | Yes | |
BattalionSpellOrderString | string | Yes | |
BattalionTimer | real | Yes | |
BattalionTroop | unitcode | Yes | |
Battallion | group | Yes | |
BattallionCount | integer | No | |
BattallionIndex | integer | No | |
BattallionLimit | integer | No | 330 |
BattallionQueued | group | No | |
BattallionRegroup | real | No | 700.00 |
BattleJankAngle | real | No | |
BattleJankBroadsideUnlock | boolean | No | |
BattleJankHero | unit | No | |
BattleJankOrdnanceUnlock | boolean | No | |
BattleJankSE | effect | No | |
BattleJankStrikeUnlock | boolean | No | |
BattleJankUltPoint | location | No | |
BattleJankWeaponInt | integer | No | |
BlackCitadel | unit | No | |
BlinkBlitzCaster | unit | No | |
BlinkBlitzTarget | unit | No | |
BlinkDamage | real | No | |
BlinkManaUse | real | No | |
BlinkStartingTime | real | No | |
BlinkTimer | timer | No | |
BlinkTimerMultiplier | real | No | |
BloodFloatingText | texttag | No | |
Boneyard | unit | No | |
BooleanBlinkBlitz | boolean | No | true |
BooleanCullingLaunch | boolean | No | true |
BreachCrystal | unit | No | |
BreachGroupCheck | group | No | |
BreachGroupUnit | group | No | |
BreachInt | integer | No | |
BreachPoint | location | No | |
BreachSFX | effect | No | |
BreachSFX2 | effect | No | |
BreachSFX3 | effect | No | |
BreachText | texttag | No | |
BreachTimer | timer | No | |
BreachTimerDecrease | timer | No | |
BreachTimerInt | integer | No | |
CaptureCountTotal | integer | Yes | |
captureId | integer | No | |
CaptureStarted | boolean | No | |
CaptureTimer | timer | Yes | |
CaptureTimerWindow | timerdialog | Yes | |
CapturingPlayer | player | Yes | |
CastAngle | real | No | |
CastFacing | real | Yes | |
CastPosition | location | Yes | |
CastTarget | location | Yes | |
CastTempPoint | location | Yes | |
CavalryGroup | group | No | |
ChainGroup | group | No | |
ChainLightning | lightning | No | |
ChainPoint | location | No | |
ChainPoint2 | location | No | |
ChainSound | sound | No | |
check | boolean | No | |
ChinaSFX | effect | Yes | |
CLAnimation | string | No | |
CLAnimationIndex | integer | No | |
CLAnimationSpeed | real | No | |
CLAttach | string | No | |
CLAttachment | string | No | |
CLDamage | real | Yes | |
CLDuration | real | No | |
CLEffect | string | No | |
CLMaxSlashes | integer | Yes | |
CLMinimumDistance | real | No | |
CLSFX | string | No | |
CLSlashInterval | integer | No | |
CLSpeed | real | No | |
CLSpellLevel | integer | Yes | |
CLTransparency | real | No | |
ConcatenateBlinkBlitz | string | No | |
ConcatenateCullingLaunch | string | No | |
ConcatenateIceBanelings | string | No | |
ConcatenateMcDonalds | string | No | |
ConcatenateMinecraft | string | No | |
ConcatenatePacMan | string | No | |
ConcatenateSonic | string | No | |
ConcatenateSpam | string | No | |
Count | integer | Yes | |
cpAttacker | player | Yes | |
cpId | integer | No | |
cpNotified | integer | Yes | |
cpOwner | player | Yes | |
cpPointsGroup | group | No | |
cpProgress | integer | Yes | |
cpUnit | unit | Yes | |
cpVAR_CaptureMessage | string | No | |
cpVAR_CaptureRate | integer | No | |
cpVAR_CaptureReq | integer | No | |
cpVAR_ControlPointIncGold | integer | Yes | |
cpVAR_ControlPointIncLumber | integer | Yes | |
cpVAR_ControlPointType | unitcode | Yes | |
cpVAR_ControlPointTypeId | integer | No | |
cpVAR_FloatOffset | real | No | |
cpVAR_IncomeRate | real | No | |
cpVAR_NotifierCooldown | integer | No | |
cpVAR_PlayerColour | string | Yes | |
cpVAR_PointLostMessage | string | No | |
cpVAR_Range | real | No | |
cpVAR_SystemStyle | integer | No | |
cpVAR_WarningMessage | string | No | |
Crypt | unit | No | |
CullingCaster | unit | No | |
CullingInt | integer | No | |
CullingTarget | unit | No | |
DefendingPlayer | player | Yes | |
destructibleexplosionrng | integer | No | |
Devanche | unit | No | |
DevancheAngle | real | No | |
DevancheAttacker | unit | No | |
DevancheDamageAmount | real | No | |
DevancheDistanceStep | real | No | |
DevancheFloatingText | texttag | No | |
DevancheHitInt | integer | No | |
DevancheSelectorCounter | integer | No | |
DevancheTimer | timer | No | |
DevancheTimerInt | integer | No | |
DisCaster | unit | Yes | |
DisengageGhostUnits | unit | Yes | |
DisengagePoints | location | Yes | |
Dreadnought | unit | No | |
DreadnoughtAbilityTargetGroup | group | No | |
DreadnoughtWeapon | unit | No | |
DreadnoughtWeaponNuke | unit | No | |
DummySystems | unit | No | |
EliteHeli1 | unit | No | |
EliteHeli2 | unit | No | |
EliteHeli3 | unit | No | |
EmojiImages | image | Yes | |
EmojiInt | integer | No | |
EmojiPoint | location | No | |
EmojiTimer | timer | No | |
EyBe_Unit_Dummy | unit | Yes | |
Faction1Income | integer | No | |
Faction1IncomeOil | integer | No | |
Faction2Income | integer | No | |
Faction2IncomeOil | integer | No | |
Faction3Income | integer | No | |
Faction3IncomeOil | integer | No | |
Faction4Income | integer | No | |
Faction4IncomeOil | integer | No | |
FattyUnit | unit | No | |
FenixHero | unit | No | |
Godzilla | unit | No | |
GodzillaAngle | real | No | |
GodzillaInt | integer | No | |
GodzillaTargetGroup | group | No | |
GodzillaTargetPoint | location | No | |
Graveyard | unit | No | |
GrowthPoint | location | No | |
GrowthStageDistance | integer | No | |
GrowthStageInt | integer | No | |
GTAbilityPoint | location | No | |
GTGhost | unit | No | |
GTGhostPoint | location | No | |
GTHero | unit | No | |
GTHeroPoint | location | No | |
GTLinkAngle | real | No | |
GTLinkDistance | real | No | |
Gundam | unit | Yes | |
GundamBoolean | boolean | Yes | |
GundamCaster | unit | Yes | |
GundamCasterGroup | group | Yes | |
GundamCasterPoint | location | Yes | |
GundamCasterTimer | integer | Yes | |
GundamCasterUnit | unit | Yes | |
GundamEff | effect | Yes | |
GundamEnemy | unit | Yes | |
GundamGroup | group | Yes | |
GundamInteger | integer | Yes | |
GundamPlayer | player | No | |
GundamPoint | location | Yes | |
GundamReal | real | Yes | |
handle | integer | No | |
hashtable | hashtable | No | |
HeliGroup | group | No | |
HeliLeavePoint | location | No | |
HeliSpawnPoint | location | No | |
Heroes | unit | Yes | |
HeroesHunted | group | No | |
HM_Active | boolean | Yes | |
HM_Angle | real | Yes | |
HM_AngleChangeSpeed | real | Yes | |
HM_CurDistance | real | Yes | |
HM_Damage | real | Yes | |
HM_DamageDealer | unit | Yes | |
HM_DamageGroup | group | No | |
HM_LeakPoint | location | Yes | |
HM_LoopIndex | integer | Yes | |
HM_MaxDistance | real | Yes | |
HM_Missle | unit | Yes | |
HM_PinningDistance | real | Yes | |
HM_Speed | real | Yes | |
HM_TargetUnit | unit | Yes | |
HM_TempGroup | group | No | |
HM_TempReal | real | Yes | |
HunterKiller1 | unit | No | |
HunterKiller2 | unit | No | |
HuntersGroup | group | No | |
HuntersSpawnHeli | unit | No | |
HuntersSpawnPoint | location | No | |
ICBMnukeSFX | effect | Yes | |
ICBMSFX | effect | No | |
IceBanelingSpeed | real | No | |
IceBanelingsSpawnPoint | location | No | |
IceBanelingsTimer | timer | Yes | |
IceBanelingsUnit | unit | No | |
IceBanelingUnitsSFX | unit | Yes | |
Income_timer | timer | No | |
Index | integer | No | |
InfernoTank | unit | No | |
InfernoTankObjectivePoint | location | No | |
InfernoTankSpawnHelio | unit | No | |
InfernoTankSpawnPoint | location | No | |
InfiniteSlashesAngle | real | Yes | |
InfiniteSlashesBol1 | boolean | Yes | |
InfiniteSlashesBol2 | boolean | Yes | |
InfiniteSlashesCaster | unit | Yes | |
InfiniteSlashesCasterLoc | location | No | |
InfiniteSlashesCasterLoc2 | location | No | |
InfiniteSlashesCount1 | integer | Yes | |
InfiniteSlashesCount2 | integer | Yes | |
InfiniteSlashesDistance | real | Yes | |
InfiniteSlashesIndex | integer | No | |
InfiniteSlashesLoop | integervar | No | |
InfiniteSlashesMui | integer | No | |
InfiniteSlashesSFX | effect | Yes | |
InfiniteSlashesTarget | unit | Yes | |
InfiniteSlashesTargetLoc | location | No | |
InfTank1 | unit | No | |
InfTank2 | unit | No | |
InfTank3 | unit | No | |
JapanSFX | unit | Yes | |
JD_Angle | real | Yes | |
JD_Animations | string | Yes | |
JD_Distances | real | Yes | |
JD_Effect | string | Yes | |
JD_Group | group | No | |
JD_HighSettings | real | Yes | |
JD_Integers | integer | Yes | |
JD_JumpHigh | real | Yes | |
JD_ReachedDistance | real | Yes | |
JD_RealTimer | real | Yes | |
JD_SpeedUnits | real | Yes | |
JD_TempPoint | location | Yes | |
JD_TreesDestroy | boolean | Yes | |
JD_Unit | unit | Yes | |
JDA_Animation | string | No | |
JDA_AnimationSpeed | real | No | |
JDA_Collusion | boolean | No | |
JDA_DestroyTrees_Dash | boolean | No | |
JDA_JumpHigh_Distance | real | No | |
JDA_SpecialEffect | string | No | |
JDA_Speed | real | No | |
JDA_TargetPoint | location | No | |
JDA_Unit | unit | No | |
KB | integervar | No | |
KB_Angle | real | Yes | |
KB_Distance | real | Yes | |
KB_Group | group | Yes | |
KB_Int | integer | No | |
KB_Off | boolean | Yes | |
KB_Point | location | Yes | |
KB_Skip | integer | No | |
KB_Spam | integer | Yes | |
KB_Speed | real | Yes | |
KB_Target | unit | Yes | |
KB_Times | integer | No | |
KerriganFirstSpawn | boolean | No | |
KerriganRazorSwarmUnits | unit | Yes | |
KerriganTargetHeroGroup | group | No | |
KerriganTargetHeroUnitSelect | unit | No | |
KerriganUnit | unit | No | |
Klee | unit | No | |
LedgerBlinkBlitz | integer | No | |
LedgerCullingLaunch | integer | No | |
LedgerIceBanelings | integer | No | |
LedgerMcDonalds | integer | No | |
LedgerMinecraft | integer | No | |
LedgerPacMan | integer | No | |
LedgerSonic | integer | No | |
LedgerSpam | integer | No | |
lightsolver | unit | No | |
LiteratureBook | string | Yes | |
LiteratureTrapInt | integer | No | |
LiteratureTrapUnit | unit | No | |
Loop | integervar | No | |
LTankExtractHelio | unit | No | |
LTankExtractPoint | location | No | |
LTankGroup | group | No | |
LTankObjectivePoint | location | No | |
LTankSpawnHelio | unit | No | |
LTankSpawnPoint | location | No | |
MADCaster | unit | Yes | |
MADCaster2 | unit | Yes | |
MADCaster3 | unit | Yes | |
MADCaster4 | unit | Yes | |
MADCaster5 | unit | Yes | |
MADCenterPoint | location | Yes | |
MADSFX | effect | Yes | |
MarcilleImage | image | No | |
McDonaldOwner | unit | No | |
Megumin | unit | No | |
MGB_Offset | real | No | |
MinecraftCenterPoint | location | No | |
MinecraftCircleGrow | group | No | |
MinecraftTempPoint | location | No | |
MinecraftTempTree | location | No | |
MinecraftUnitGroup | group | No | |
MMGrabCenterPoint | location | No | |
MMGrabCounter | integer | No | |
MMGrabDistanceStep | real | No | |
MMGrabDistanceStepTimer | real | No | |
MMGrabFace | real | No | |
MMGrabFlyByCounter1 | integer | No | |
MMGrabFlyByCounter2 | integer | No | |
MMGrabFlyByCounter3 | integer | No | |
MMGrabFlyByTimer1 | timer | Yes | |
MMGrabFlyByTimer2 | timer | Yes | |
MMGrabFlyByTimer3 | timer | Yes | |
MMGrabFlyByUnit1 | unit | No | |
MMGrabFlyByUnit2 | unit | No | |
MMGrabFlyByUnit3 | unit | No | |
MMGrabGroup | group | No | |
MMGrabLightning1 | lightning | Yes | |
MMGrabLightning2 | lightning | Yes | |
MMGrabLightningCounter1 | integer | No | |
MMGrabLightningCounter2 | integer | No | |
MMGrabLightningPoint1 | location | No | |
MMGrabLightningPoint2 | location | No | |
MMGrabLightningType1 | lightningtype | No | |
MMGrabLightningType2 | lightningtype | No | |
MMGrabTimer1 | timer | Yes | |
MMGuardDeathPoint | location | No | |
MMGuardFace | real | No | |
MMGuardUnits | unit | Yes | |
MMHero | unit | No | |
MMHuntingDistance | real | No | |
MMHuntingLightning | lightning | No | |
MMHuntingRandomMaxDistance | real | No | |
MMHuntingRandomPoint | location | No | |
MMHuntingTarget | unit | No | |
MMRewindCounter | integer | No | |
MMRewindFace | real | Yes | |
MMRewindHP | real | Yes | |
MMRewindLightning | lightning | Yes | |
MMRewindMP | real | Yes | |
MMRewindPoint | location | Yes | |
MMRewindTimer | timer | Yes | |
MMShockgunAbilityPoint | location | No | |
MMShockgunCastPoint | location | No | |
MMShockgunFace | real | No | |
MMShockgunLightning | lightning | Yes | |
Monolith | unit | No | |
Mui | integer | No | |
MusicPauseInt | integer | No | |
MusicRNG | integer | No | |
MusicTrackInt | integer | No | |
NrTypes | integer | No | 50 |
OdinCrossBarrageAngle | real | No | |
OdinCrossBarrageCasterPosition | location | No | |
OdinCrossBarragePoint | location | No | |
OdinHero | unit | No | |
OdinLeapCounter | integer | No | |
OdinLeapCounter2 | integer | No | |
OdinLeapDistance | integer | No | |
OdinLeapFace | real | No | |
OdinLeapHeight | integer | No | |
OdinLeapPitch | integer | No | |
OdinLeapPoint | location | No | |
OdinLeapSFX | effect | Yes | |
OdinPoint | location | No | |
OdinUltPoint | location | No | |
OdinUltSFX | effect | Yes | |
OdinYamatoAbilityPoint | location | No | |
OdinYamatoAngle | real | No | |
OdinYamatoCounter | integer | No | |
OdinYamatoCounter2 | integer | No | |
OdinYamatoDistance | real | No | |
OdinYamatoDuration | real | No | |
OdinYamatoGroup | group | No | |
OdinYamatoHeight | real | No | |
OdinYamatoPitch | real | No | |
OdinYamatoPoint | location | No | |
OdinYamatoSFX | effect | Yes | |
OdinYamatoStartPitch | real | No | |
OdinYamatoTimer | timer | Yes | |
OP7angle | real | No | |
OP7distance | real | No | |
OP7sfxUniverse | unit | Yes | |
OP7timer | timer | No | |
OP7timerHeromove | timer | No | |
OPangleAddition | real | No | |
OParcAngle | real | No | |
OParcAngleParameter | real | No | |
OParcInt | integer | No | 0 |
OParcLightning | lightning | No | |
OParcPointOrigin | location | No | |
OParcPoints | location | Yes | |
OParcPoints2 | location | Yes | |
OParcTimer | timer | No | |
OPattack1boolean | boolean | No | |
OPcheckHero | group | No | |
OPencloseAngleOrigin | real | No | |
OPencloseInt | integer | No | |
OPencloseOriginPoint1 | location | No | |
OPencloseOriginPoint2 | location | No | |
OPenclosePoints1 | location | Yes | |
OPenclosePoints2 | location | Yes | |
OPencloseRealDistance | real | No | |
OPencloseTimer | timer | No | |
OPencloseToward1 | real | No | |
OPencloseToward2 | real | No | |
OPitemOwner | unit | No | |
OPitemSFX | effect | No | |
OPmusic1 | sound | No | |
OPnotInRangeHeroes | group | No | |
OPp4Boolean | boolean | No | |
OPphase | integer | No | |
OPphase1attackFace | real | No | |
OPphase1timer | timer | No | |
OPrandomNearbyHeroGroup | group | No | |
OPrngInt | integer | No | |
OPspellRandomAngle | real | No | |
OPunit | unit | No | |
OPwhatMusicInt | integer | No | |
OwningPlayer | player | No | |
PacMan | unit | No | |
PacManTarget | unit | No | |
PacManXDistance | real | No | |
PacManYDistance | real | No | |
PaimonDeathCounter | integer | No | 1 |
PityGoldAmount | integer | No | 10 |
PlaneCircle | real | No | |
PlaneTimer | timer | No | |
PlayerInfo | player | No | |
PlayerPoint | player | No | |
Players | force | No | |
PointRotate | location | No | |
PriceBlinkBlitz | real | No | 1000.00 |
PriceCullingLaunch | real | No | 1000.00 |
PriceIceBanelings | real | No | 200.00 |
PriceMcDonalds | real | No | 500.00 |
PriceMinecraft | real | No | 500.00 |
PricePacMan | real | No | 500.00 |
PriceSonic | real | No | 200.00 |
PriceSpam | real | No | 100.00 |
Pulse1Group | group | No | |
Pulse2Group | group | No | |
Pulse3Group | group | No | |
puzzle5code | integer | Yes | |
puzzle5solver | integer | Yes | |
puzzlerng | integer | No | |
puzzlerngshift | integer | No | |
puzzleSFX | effect | Yes | |
QuadMLRS | unit | No | |
QuadMLRSAbilityPoint | location | No | |
QuadMLRSPoint | location | No | |
QuadNuke | unit | No | |
QuadPlane | unit | No | |
QuadTank | unit | No | |
QuadTankFace | real | No | |
QuadTankPoint | location | No | |
QuilboarDeathPoint | location | No | |
radiorng | integer | No | |
RandomInt | integer | No | |
RandomItemInt | integer | No | |
RighteousHolder | unit | No | |
RighteousSFX | effect | No | |
RighteousSFX2 | effect | No | |
RoamingGroup | group | No | |
RoamingSpawnHelio | unit | No | |
RoamingSpawnPoint | location | No | |
RocketSFX | effect | No | |
RocketSFX2 | effect | No | |
RocketTimer | timer | Yes | |
RocketTimer2 | timer | Yes | |
ryuk | unit | No | |
SacrificialPit | unit | No | |
SB | integer | No | |
SB_Angle | real | Yes | |
SB_AOE | real | Yes | |
SB_Bomb | unit | Yes | |
SB_Boolean | boolean | Yes | |
SB_CurrentScale | real | Yes | |
SB_Damage | real | Yes | |
SB_DistanceCheck | real | Yes | |
SB_FT_Count | real | Yes | |
SB_FTValue | integer | Yes | |
SB_Group | group | Yes | |
SB_Height | real | Yes | |
SB_Hero | unit | Yes | |
SB_Loc | location | Yes | |
SB_Loop | integervar | No | |
SB_MaxDistance | real | Yes | |
SB_MaxScale | real | Yes | |
SB_Parabola | real | Yes | |
SB_Projectile | unit | Yes | |
SB_SFX | effect | Yes | |
SB_Speed | real | Yes | |
SB_Times | integer | No | |
SB_TrgtPoint | location | Yes | |
ScoreCounter | integer | Yes | |
ScoreMultiboard | multiboard | No | |
ScourgeAttackPoint | location | No | |
ScourgeInt | integer | No | |
Selected1 | group | Yes | |
ShatterCaster | unit | Yes | |
Slaughterhouse | unit | No | |
SolarWaveCastingPoint | location | No | |
SolarWaveHeroPoint | location | No | |
SpaceSFX | effect | Yes | |
SpecificHeroHunted | unit | No | |
Status | integer | Yes | |
STESYS_CheckGroup | group | No | |
STESYS_DefaultVision | integer | No | |
STESYS_Loop_Integer | integer | No | |
STESYS_PERIODIC_TIMEOUT | real | No | |
STESYS_SightAbility | abilcode | No | |
STESYS_TempBool | boolean | Yes | |
STESYS_TempGroup | group | Yes | |
STESYS_TempInteger | integer | Yes | |
STESYS_TempLoc | location | Yes | |
STESYS_TempPlayer | player | No | |
STESYS_TempReal | real | Yes | |
STESYS_TempVis | fogmodifier | Yes | |
STESYS_TempVis1 | fogmodifier | Yes | |
STESYS_TempVis2 | fogmodifier | Yes | |
STESYS_TempVis3 | fogmodifier | Yes | |
STESYS_TempVis4 | fogmodifier | Yes | |
STESYS_TempVis5 | fogmodifier | Yes | |
STESYS_TimeDay | real | No | |
STESYS_TimeNight | real | No | |
STESYS_Trigger | trigger | Yes | |
STESYS_Unit | unit | Yes | |
STESYS_VisionInteger | integer | No | |
SuccGroup | group | No | |
SuccPlayerInt | integer | No | |
SuccPoint | location | No | |
SuccSFX | effect | No | |
SuccTimer | timer | Yes | |
SuccUnit | unit | No | |
Summon | integer | No | 6 |
target | unit | No | |
TarnishedAngleAmount | real | No | |
TarnishedAngleMax | real | No | |
TarnishedAngleMin | real | No | |
TarnishedAttackDiameter | real | No | |
TarnishedAttackRange | real | No | |
TarnishedDamage | integer | No | |
TarnishedDodgeAmount | real | No | |
TarnishedDodgeDuration | real | No | |
TarnishedDodgeFace | real | No | |
TarnishedDodgePoint | location | No | |
TarnishedDodgeTimer | timer | Yes | |
TarnishedEnemy | unit | No | |
TarnishedEnemyFace | real | No | |
TarnishedEnemyGroup | group | No | |
TarnishedFace | real | No | |
TarnishedHero | unit | No | |
TarnishedPoiseCounter | integer | No | |
TarnishedPoiseDamage | integer | No | |
TarnishedPotionsCounter | integer | No | |
TarnishedPotionsCurrent | integer | No | |
TarnishedPotionsMax | integer | No | |
TarnishedRegenCounter | integer | No | |
TarnishedRNG | integer | No | |
TarnishedSummons | unit | Yes | |
TarnishedWaterfowlDamage | real | No | |
TarnishedWaterfowlDiameter | real | No | |
TarnishedWaterfowlDistance | real | No | |
TarnishedWaterfowlFace | real | No | |
TarnishedWaterfowlPoint | location | No | |
TarnishedWaterfowlTimers | timer | Yes | |
TarnishedWaterfowlWeaponSFX | effect | No | |
TarnishedWeaponSFX | effect | No | |
tempCaptureRate | integer | No | |
TempCommander | unit | No | |
tempForce | force | No | |
TempGroiup | group | No | |
TempHero | unit | No | |
tempId | integer | No | |
Tempint | integer | No | |
tempInt | integer | No | |
Temple | unit | No | |
tempLoc | location | No | |
tempLoc2 | location | No | |
Tempplayer | player | No | |
Temppoint | location | No | |
TempPoint | location | No | |
Temppoint01 | location | No | |
TempRealX | real | No | |
tempString | string | No | |
tempUGAllies | group | No | |
tempUGEnemies | group | No | |
tempUGPerPlayer | group | Yes | |
TempUnit | unit | No | |
Tempunit | unit | No | |
testIndex | integer | No | |
testValue | integer | No | |
TFCaster1 | unit | Yes | |
TFCaster2 | unit | Yes | |
TFCaster3 | unit | Yes | |
TFCaster4 | unit | Yes | |
TFHero | unit | Yes | |
timer | real | No | |
Torrasque | unit | No | |
TorrasqueChargeGroup | group | No | |
TorrasqueChargeTimer | timer | No | |
Trains | unit | Yes | |
TranslatePlayerNumber | integer | No | 5 |
UDex | integer | No | |
UDexGen | integer | No | |
UDexNext | integer | Yes | |
UDexPrev | integer | Yes | |
UDexRecycle | integer | No | |
UDexUnits | unit | Yes | |
UDexWasted | integer | No | |
UNITDATA_Hash | hashtable | No | |
UNITDATA_SIGHTDAY | integer | No | |
UNITDATA_SIGHTNIGHT | integer | No | |
UNITDATA_UnitType | unitcode | No | |
UNITDATA_UnitTypeInteger | integer | No | |
UnitIndexerEnabled | boolean | No | |
UnitIndexEvent | real | No | |
UnitIndexLock | integer | Yes | |
Unittype | unitcode | No | |
USASFX | effect | Yes | |
USSRSFX | effect | Yes | |
WarpPylon | unit | No | |
WarpUnit1 | unit | No | |
WarpUnit2 | unit | No | |
WarpUnit3 | unit | No | |
WarpUnit4 | unit | No | |
WarpUnit5 | unit | No | |
WarpZealot1 | unit | No | |
WarpZealot2 | unit | No | |
WarpZealot3 | unit | No | |
winnerDecided | boolean | No | |
XemnasBloodTerrainGroup | group | No | |
XemnasBloodySlashDamageGroup | group | No | |
XemnasBloodySlashFace | real | No | |
XemnasBloodySlashPoint | location | No | |
XemnasBloodySlashRealBoolean | real | No | |
XemnasBloodySlashTimer | timer | No | |
XemnasFaceCount | real | No | |
XemnasGuardInt | integer | No | |
XemnasGuardKillerPoint | location | No | |
XemnasGuardPoint | location | No | |
XemnasGuardTimer | timer | No | |
XemnasGuardUnit | unit | No | |
XemnasMusic | sound | No | |
XemnasPhase | integer | No | 1 |
XemnasPhaseLightning | lightning | No | |
XemnasPhasePoint | location | No | |
XemnasPointNorth | location | No | |
XemnasRandomNearbyHero | unit | No | |
XemnasRingPoints | location | Yes | |
XemnasRNG | integer | No | |
XemnasSpiralInt | integer | No | |
XemnasSpiralPoint | location | No | |
XemnasSpiralTimer | timer | No | |
XemnasUltBlackHoleSFX | effect | No | |
XemnasUltGroup | group | No | |
XemnasUltInt | integer | No | |
XemnasUltUnitSFX | effect | No | |
XemnasUnit | unit | No | |
ZergInt | integer | No | |
ZergPopulation | integer | No |
function Trig_Set_Player_Colours_Actions takes nothing returns nothing
set udg_cpVAR_PlayerColour[1] = ( "|cffff0202" )
set udg_cpVAR_PlayerColour[2] = ( "|cff0041ff" )
set udg_cpVAR_PlayerColour[3] = ( "|cff1be5b8" )
set udg_cpVAR_PlayerColour[4] = ( "|cff530080" )
set udg_cpVAR_PlayerColour[5] = ( "|cffffff00" )
set udg_cpVAR_PlayerColour[6] = ( "|cfffe890d" )
set udg_cpVAR_PlayerColour[7] = ( "|cffff0202" )
set udg_cpVAR_PlayerColour[8] = ( "|cff0041ff" )
set udg_cpVAR_PlayerColour[9] = ( "|cff1be5b8" )
set udg_cpVAR_PlayerColour[10] = ( "|cff530080" )
set udg_cpVAR_PlayerColour[11] = ( "|cffffff00" )
set udg_cpVAR_PlayerColour[13] = ( "|cff800000" )
set udg_cpVAR_PlayerColour[14] = ( "|cff000080" )
set udg_cpVAR_PlayerColour[15] = ( "|cff40e0d0" )
set udg_cpVAR_PlayerColour[16] = ( "|cff8a2be2" )
set udg_cpVAR_PlayerColour[17] = ( "|cfff5deb3" )
set udg_cpVAR_PlayerColour[18] = ( "|cffffdab9" )
set udg_cpVAR_PlayerColour[19] = ( "|cff80ff80" )
set udg_cpVAR_PlayerColour[20] = ( "|cffe6e6fa" )
set udg_cpVAR_PlayerColour[21] = ( "|cff000000" )
set udg_cpVAR_PlayerColour[22] = ( "|cffffffff" )
set udg_cpVAR_PlayerColour[23] = ( "|cff008000" )
set udg_cpVAR_PlayerColour[24] = ( "|cff808000" )
endfunction
//===========================================================================
function InitTrig_CP_JASS takes nothing returns nothing
set gg_trg_CP_JASS = CreateTrigger( )
call TriggerAddAction( gg_trg_CP_JASS, function Trig_Set_Player_Colours_Actions )
endfunction