Name | Type | is_array | initial_value |
AI | unit | Yes | |
AIAdvancePercent | real | No | 0.90 |
AIItems | unit | Yes | |
Angle | real | Yes | |
Angle1 | real | Yes | |
Angle2 | real | Yes | |
balrog | unit | No | |
Board | multiboard | No | |
CastingUnit | unit | Yes | |
CastingUnit10 | unit | Yes | |
CastingUnit11 | unit | Yes | |
CastingUnit12 | unit | Yes | |
CastingUnit2 | unit | Yes | |
CastingUnit20 | unit | Yes | |
CastingUnit25 | unit | Yes | |
CastingUnit27 | unit | Yes | |
CastingUnit28 | unit | Yes | |
CastingUnit3 | unit | Yes | |
CastingUnit5 | unit | Yes | |
CastingUnit6 | unit | Yes | |
CastingUnit7 | unit | Yes | |
choosedhero | unit | Yes | |
Combine_Charged_Items | boolean | No | |
Combine_Charges_Max | integer | No | |
ComboWhore | integer | No | |
ComboWhoreTeam | integer | No | |
converted | boolean | No | |
copyitem | itemcode | Yes | |
Creep_Positions | location | Yes | |
Creep_Types | unitcode | Yes | |
CreepItems | itemcode | Yes | |
CreepItemsCount | integer | No | |
damage | integer | No | |
DeathMatch | integer | Yes | |
Distance | real | No | |
Distance1 | real | No | |
DummyUnit | unit | Yes | |
End_Game_If_All_Gone | boolean | No | |
frostauraunit | unit | No | |
Game_Minutes | integer | No | |
Game_Seconds | integer | No | |
Game_Time | timer | No | |
GameMode | integer | No | |
GameStart | real | No | |
Hero_Revive_Time_Factor | real | No | |
HeroAgi | integer | No | |
heroArray | unit | Yes | |
Heroes_All | unitcode | Yes | |
Heroes_Scourge | unitcode | Yes | |
Heroes_Sentinel | unitcode | Yes | |
HeroesinRegion | unit | Yes | |
heroRetreat | location | Yes | |
heroState | integer | Yes | |
HeroStr | integer | No | |
heroTarget | location | Yes | |
HeroUnit | unit | Yes | |
Hostile_Revive_Time | real | No | |
ItemDrop | integer | Yes | |
ItemDropCount | integer | No | |
itemofunit1 | item | Yes | |
KillinPlayer | integer | No | |
Killsinarow | integer | Yes | |
LastHeroStanding | force | No | |
LeaderboardDeaths | integer | Yes | |
LeaderboardKills | integer | Yes | |
LeaderboardScourge | leaderboard | No | |
LeaderboardSentinel | leaderboard | No | |
leftPlayers | force | No | |
levelofunit | integer | Yes | |
LoopCreep | integer | No | |
LoopRandom | integer | No | |
LoopSuper | integer | No | |
Manipulate | unit | Yes | |
MODE_AllRandom_AllPick | integer | No | 1 |
MODE_Normal | integer | No | 0 |
MODE_Reverse | integer | No | 2 |
MuitiInteger | integer | Yes | |
Multiboard_Clock | integer | No | |
Multiboard_ShowDeaths | boolean | No | true |
Multiboard_Spots | integer | Yes | |
MultiPoint | location | Yes | |
MultiPoint10 | location | Yes | |
MultiPoint11 | location | Yes | |
MultiPoint12 | location | Yes | |
MultiPoint13 | location | Yes | |
MultiPoint14 | location | Yes | |
MultiPoint15 | location | Yes | |
MultiPoint2 | location | Yes | |
MultiPoint20 | location | Yes | |
MultiPoint21 | location | Yes | |
MultiPoint22 | location | Yes | |
MultiPoint25 | location | Yes | |
MultiPoint26 | location | Yes | |
MultiPoint27 | location | Yes | |
MultiPoint28 | location | Yes | |
MultiPoint3 | location | Yes | |
MultiPoint4 | location | Yes | |
MultiPoint5 | location | Yes | |
MultiPoint6 | location | Yes | |
MultiPoint7 | location | Yes | |
MultiPoint8 | location | Yes | |
MultiUnit | unit | Yes | |
MultiUnit10 | unit | Yes | |
MultiUnit11 | unit | Yes | |
MultiUnit12 | unit | Yes | |
MultiUnit15 | unit | Yes | |
MultiUnit2 | unit | Yes | |
MultiUnit20 | unit | Yes | |
MultiUnit21 | unit | Yes | |
MultiUnit22 | unit | Yes | |
MultiUnit25 | unit | Yes | |
MultiUnit26 | unit | Yes | |
MultiUnit28 | unit | Yes | |
MultiUnit3 | unit | Yes | |
MultiUnit4 | unit | Yes | |
MultiUnit5 | unit | Yes | |
MultiUnit7 | unit | Yes | |
MultiUnit8 | unit | Yes | |
NameUnit | unit | Yes | |
Odd_Man_Out | force | No | |
Player | player | No | |
Player2 | player | No | |
Player_Already_Picked | integer | Yes | |
Player_Colors | string | Yes | |
Player_Starting_Gold | integer | No | |
PlayerColors | string | Yes | |
playercountScourge | integer | No | |
playercountSentinels | integer | No | |
playerNames | string | Yes | |
PlayerNames | string | Yes | |
Players | force | No | |
PlayersCount | integer | No | |
PlayersScourge | force | No | |
PlayersScourgeCount | integer | No | |
PlayersScourgePlaying | force | No | |
PlayersScourgeReverse | force | No | |
PlayersSentinel | force | No | |
PlayersSentinelCount | integer | No | |
PlayersSentinelPlaying | force | No | |
PlayersSentinelReverse | force | No | |
PlayerTimer | timer | Yes | |
Point | location | No | |
PointMovingBoolean | boolean | Yes | |
PointMovingDestination | location | Yes | |
PointMovingInteger | integer | Yes | |
quickkill | integer | Yes | |
Random_Hero | integer | No | |
RandomData_All | integer | Yes | |
RandomData_Scourge | integer | Yes | |
RandomData_Sentinel | integer | Yes | |
randomizerHeroes | integer | No | 0 |
randomizerHeroes2 | integer | No | 0 |
randomizerHeroes3 | integer | No | 0 |
randomizerHeroes4 | integer | No | 0 |
RandomTotal_All | integer | No | |
RandomTotal_Scourge | integer | No | |
RandomTotal_Sentinel | integer | No | |
Real | real | Yes | |
RealHero4 | real | Yes | |
Repick_Cost_Ammount | integer | No | |
RevivableHeroes | group | No | |
RevivableTimersWindows | timerdialog | Yes | |
ReviveTimers | timer | Yes | |
rightPlayers | force | No | |
RiverItems | itemcode | Yes | |
RiverItemsCount | integer | No | |
RiverItemsRegions | location | Yes | |
RiverItemsRegionsCount | integer | No | |
RiverItemsTaken | boolean | Yes | |
Score_Deaths | integer | Yes | |
Score_Kills | integer | Yes | |
SFX | effect | Yes | |
SFX1 | effect | Yes | |
SFX2 | effect | Yes | |
ShortMode_On | boolean | No | |
Sort_Board_By_Kills | boolean | No | |
Stored_Unit | unit | Yes | |
SummonUnit | unit | Yes | |
Super_Chances | integer | Yes | |
Super_Creeps | unitcode | Yes | |
Super_Creeps_On | boolean | No | |
Super_Names | string | Yes | |
Super_Regions | rect | Yes | |
TeamOwnage | integer | Yes | |
TempCounter | integer | No | |
TempFloatText | texttag | No | |
TempInteger | integer | No | |
TempPoint | location | No | |
TempPoint2 | location | No | |
TempReal | real | No | |
TempReal1 | real | No | |
TempUnitGroup | group | No | |
UberMode_On | boolean | No | |
UltraShortMode_On | boolean | No | |
UnitGroup | group | No | |
UnitGroup10 | group | Yes | |
UnitGroup12 | group | Yes | |
UnitGroup13 | group | Yes | |
UnitGroup2 | group | Yes | |
UnitGroup20 | group | Yes | |
UnitGroup21 | group | Yes | |
UnitGroup5 | group | Yes | |
UnitGroup7 | group | Yes | |
UnitGroup8 | group | Yes | |
UnitGrouparray | group | Yes | |
wait100strikes | real | No | 10.00 |
waitbackstab | real | No | 10.00 |
waitgravity | real | No | 10.00 |
waitkagebunshin | real | No | 10.00 |
waitplasma | real | No | 10.00 |
waitsecret | real | No | 10.00 |
waitteleport | real | No | 10.00 |
function Trig_Revive_Creeps_Actions takes nothing returns nothing
local integer CUSTOM
set CUSTOM = GetUnitUserData(GetDyingUnit())
call TriggerSleepAction( udg_Hostile_Revive_Time )
call CreateNUnitsAtLoc( 1, udg_Creep_Types[CUSTOM], Player(PLAYER_NEUTRAL_AGGRESSIVE), udg_Creep_Positions[CUSTOM], bj_UNIT_FACING )
call SetUnitUserData( GetLastCreatedUnit(), CUSTOM )
endfunction
//===========================================================================
function InitTrig_Revive_Creeps takes nothing returns nothing
set gg_trg_Revive_Creeps = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Revive_Creeps, Player(PLAYER_NEUTRAL_AGGRESSIVE), EVENT_PLAYER_UNIT_DEATH )
call TriggerAddAction( gg_trg_Revive_Creeps, function Trig_Revive_Creeps_Actions )
endfunction
function Trig_Combine_Items_Conditions takes nothing returns boolean
if ( not ( GetItemCharges(GetManipulatedItem()) > 0 ) ) then
return false
endif
if ( not ( udg_Combine_Charged_Items == true ) ) then
return false
endif
return true
endfunction
function Trig_Combine_Items_Actions takes nothing returns nothing
local integer ITEMCOUNT
local integer ITEMLOOP
local integer CHARGES
local integer MAXIMUM
local item NEWITEM
local unit OURUNIT
set MAXIMUM = udg_Combine_Charges_Max
set ITEMCOUNT = 0
set ITEMLOOP = 0
set CHARGES = 0
set NEWITEM = GetManipulatedItem()
set OURUNIT = GetManipulatingUnit()
loop
exitwhen ITEMLOOP > 6
if ((GetItemTypeId(NEWITEM)) == (GetItemTypeId(UnitItemInSlotBJ(OURUNIT, ITEMLOOP)))) then
if ((GetItemCharges(UnitItemInSlotBJ(OURUNIT, ITEMLOOP)) + GetItemCharges(NEWITEM)) <= MAXIMUM) then
if not ( (UnitItemInSlotBJ(OURUNIT, ITEMLOOP)) == (NEWITEM)) then
set CHARGES = (GetItemCharges(UnitItemInSlotBJ(OURUNIT, ITEMLOOP))) + GetItemCharges(NEWITEM)
call SetItemCharges( UnitItemInSlotBJ(OURUNIT, ITEMLOOP), CHARGES )
call RemoveItem( NEWITEM )
set ITEMLOOP=7
endif
endif
endif
if ( ITEMLOOP < 7 ) then
set ITEMLOOP = ITEMLOOP + 1
endif
endloop
endfunction
//===========================================================================
function InitTrig_Combine_Charged_Items takes nothing returns nothing
set gg_trg_Combine_Charged_Items = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Combine_Charged_Items, EVENT_PLAYER_UNIT_PICKUP_ITEM )
call TriggerAddCondition( gg_trg_Combine_Charged_Items, Condition( function Trig_Combine_Items_Conditions ) )
call TriggerAddAction( gg_trg_Combine_Charged_Items, function Trig_Combine_Items_Actions )
endfunction