Name | Type | is_array | initial_value |
AAngle | real | Yes | |
ACaster | unit | Yes | |
ACasterPoint | location | Yes | |
ACount | integer | No | |
ADamage | real | Yes | |
ADistance | real | Yes | |
ADummyGroup | group | Yes | |
AFacingJump | real | No | |
AHas | boolean | Yes | |
AIndex | integer | No | |
AInteger | integer | No | |
AJumpCaster | unit | No | |
ALastRecycled | integer | No | |
AMax | integer | No | |
AMaxDistance | real | Yes | |
AMove | real | Yes | |
ARecycledList | integer | Yes | |
Arrow_Angle | real | No | |
Arrow_Caster | unit | Yes | |
Arrow_CasterLoc | location | No | |
Arrow_CountMaxSize | integer | No | |
Arrow_Counts | integer | No | |
Arrow_CusValue | integer | No | |
Arrow_Distance | real | Yes | |
Arrow_DistanceCount | real | Yes | |
Arrow_DistanceTravel | real | Yes | |
Arrow_DummyLoc | location | No | |
Arrow_Movement | location | No | |
Arrow_RandomUnit | group | No | |
Arrow_StartGroup | group | No | |
Arrow_StunDuration | integer | Yes | |
Arrow_TargetPoint | location | No | |
Arrow_UnitGroup | group | No | |
ATarget | unit | Yes | |
Combine_Charged_Items | boolean | No | |
Combine_Charges_Max | integer | No | |
Creep_Positions | location | Yes | |
Creep_Types | unitcode | Yes | |
CreepItems | itemcode | Yes | |
CreepItemsCount | integer | No | |
DarkVortex_DPI | real | Yes | |
DarkVortex_I | real | Yes | |
DarkVortexCaster | unit | Yes | |
DarkVortexDuration | real | Yes | |
DarkVortexGroup | group | Yes | |
DarkVortexPoint | location | Yes | |
DashCaster | unit | Yes | |
DashDamage | real | Yes | |
DashDistance | integer | Yes | |
DashGroup1 | group | No | |
DashGroup2 | group | No | |
DashGroup3 | group | No | |
DashInteger | integer | Yes | |
DashPoint1 | location | Yes | |
DashPoint2 | location | Yes | |
DashPoint3 | location | Yes | |
DashPoint4 | location | Yes | |
DashPoint5 | location | Yes | |
DashReal1 | real | Yes | |
DashReal2 | real | Yes | |
DashSpeed | real | Yes | |
DeathMatch | integer | Yes | |
DEBUGGROUP | group | No | |
Dummy | unit | Yes | |
DV_index | integer | Yes | |
End_Game_If_All_Gone | boolean | No | |
Game_Minutes | integer | No | |
Game_Seconds | integer | No | |
Game_Time | timer | No | |
GameMode | integer | No | |
Hero_Revive_Time_Factor | real | No | |
Heroes_All | unitcode | Yes | |
Heroes_Scourge | unitcode | Yes | |
Heroes_Sentinel | unitcode | Yes | |
Hostile_Revive_Time | real | No | |
I_check | real | Yes | |
ItemDrop | integer | Yes | |
ItemDropCount | integer | No | |
LastHeroStanding | force | No | |
LeaderboardScourge | leaderboard | No | |
LeaderboardSentinel | leaderboard | No | |
Leak_point | location | Yes | |
LoopCreep | integer | No | |
LoopRandom | integer | No | |
LoopSuper | integer | No | |
Map_Unit_1 | unit | No | |
Map_Unit_2 | unit | No | |
Map_Unit_3 | unit | No | |
Map_Unit_4 | unit | No | |
MODE_AllRandom_AllPick | integer | No | 1 |
MODE_Normal | integer | No | 0 |
MODE_Reverse | integer | No | 2 |
Multiboard_Clock | integer | No | |
Multiboard_ShowDeaths | boolean | No | true |
Multiboard_Spots | integer | Yes | |
nVortexUnits | integer | Yes | |
Odd_Man_Out | force | No | |
pback_chance | real | No | |
pback_randomnum | real | No | |
pback_unit | unit | No | |
Player | player | No | |
Player_Already_Picked | integer | Yes | |
Player_Colors | string | Yes | |
Player_Starting_Gold | integer | No | |
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 | |
Point | location | No | |
Random_Hero | integer | No | |
RandomData_All | integer | Yes | |
RandomData_Scourge | integer | Yes | |
RandomData_Sentinel | integer | Yes | |
RandomTotal_All | integer | No | |
RandomTotal_Scourge | integer | No | |
RandomTotal_Sentinel | integer | No | |
Repick_Cost_Ammount | integer | No | |
RevivableHeroes | group | No | |
RevivableTimersWindows | timerdialog | Yes | |
ReviveTimers | timer | Yes | |
RiverItems | itemcode | Yes | |
RiverItemsCount | integer | No | |
RiverItemsRegions | location | Yes | |
RiverItemsRegionsCount | integer | No | |
RiverItemsTaken | boolean | Yes | |
Score_Deaths | integer | Yes | |
Score_Kills | integer | Yes | |
Sentinel_item | item | No | |
SG_Dummy | unit | No | |
ShortMode_On | boolean | No | |
Slash_Caster | unit | Yes | |
Slash_Caster_AngleSpeed | real | No | |
Slash_Caster_DistanceSpeed | real | No | |
Slash_Caster_Position | location | Yes | |
Slash_Current_Index | integer | No | |
Slash_Damage | real | No | |
Slash_DamageRange | real | No | |
Slash_Effect | string | No | |
Slash_HitGroup | group | Yes | |
Slash_HitMove | location | Yes | |
Slash_HitMove_Distance | real | No | |
Slash_Index_Container | integer | Yes | |
Slash_Index_Size | integer | No | |
Slash_Listener_Index | integer | No | |
Slash_Loop_Index | integer | No | |
Slash_Model_1 | string | No | |
Slash_Model_2 | string | No | |
Slash_Model_3 | string | No | |
Slash_Move | location | Yes | |
Slash_Picked_Position | location | No | |
Slash_Picked_Unit | unit | Yes | |
Slash_Point | location | Yes | |
Slash_RecycleContainer_Index | integer | Yes | |
Slash_RecycleSize_Index | integer | No | |
Slash_Slow_Dummy | unit | Yes | |
Slash_Special_Attach | string | No | |
Slash_Special_Attach_2 | string | No | |
Slash_SpecialEffect | effect | Yes | |
Slash_SpecialEffect_2 | effect | Yes | |
Slash_Spin_Speed | real | No | |
Sort_Board_By_Kills | boolean | No | |
Super_Chances | integer | Yes | |
Super_Creeps | unitcode | Yes | |
Super_Creeps_On | boolean | No | |
Super_Names | string | Yes | |
Super_Regions | rect | Yes | |
Temp_Loc | location | No | |
TempInteger | integer | No | |
TempLoc | location | No | |
TempLoc2 | location | No | |
TempReal | real | No | |
UberMode_On | boolean | No | |
UltraShortMode_On | boolean | No | |
UnitGroup | group | No | |
VortexPointFirst | location | No | |
VortexPointSecond | location | No |
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