// Map deprotected by X-deprotect (version 2006-10-02) by zibada
// http://dimon.xgm.ru/xdep/
// Visit our modmaking community at http://xgm.ru/
Name | Type | is_array | initial_value |
real01 | real | No | |
timer01 | timer | No | |
timerdialog01 | timerdialog | No | |
trigger01 | trigger | No | |
trigger02 | trigger | No | |
trigger03 | trigger | No | |
trigger04 | trigger | No | |
trigger05 | trigger | No | |
trigger06 | trigger | No | |
trigger07 | trigger | No | |
trigger08 | trigger | No | |
trigger09 | trigger | No | |
trigger10 | trigger | No | |
trigger11 | trigger | No | |
trigger12 | trigger | No | |
trigger13 | trigger | No | |
trigger14 | trigger | No | |
unit01 | unit | No | |
unit02 | unit | No | |
unit03 | unit | No | |
unit04 | unit | No | |
unit05 | unit | No | |
unit06 | unit | No | |
unit07 | unit | No | |
unit08 | unit | No | |
unit09 | unit | No | |
unit10 | unit | No |
// Map deprotected by X-deprotect (version 2006-10-02) by zibada
// http://dimon.xgm.ru/xdep/
// Visit our modmaking community at http://xgm.ru/
function CreateBuildingsForPlayer1 takes nothing returns nothing
local player p=Player(1)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'etrp',-352.0,608.0,270.000)
call IssueImmediateOrder(u,"root")
set u=CreateUnit(p,'etrp',352.0,608.0,270.000)
call IssueImmediateOrder(u,"root")
endfunction
function CreateUnitsForPlayer1 takes nothing returns nothing
local player p=Player(1)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit10=CreateUnit(p,'Eevi',-1.7,613.9,270.000)
call SetHeroLevel(udg_unit10,10,false)
call SetHeroStr(udg_unit10,100,true)
call SetHeroAgi(udg_unit10,100,true)
call SetHeroInt(udg_unit10,100,true)
call SelectHeroSkill(udg_unit10,'AEmb')
call SelectHeroSkill(udg_unit10,'AEmb')
call SelectHeroSkill(udg_unit10,'AEmb')
call SelectHeroSkill(udg_unit10,'AEim')
call SelectHeroSkill(udg_unit10,'AEim')
call SelectHeroSkill(udg_unit10,'AEim')
call SelectHeroSkill(udg_unit10,'AEev')
call SelectHeroSkill(udg_unit10,'AEev')
call SelectHeroSkill(udg_unit10,'AEev')
call SelectHeroSkill(udg_unit10,'AEvi')
call UnitAddItemToSlotById(udg_unit10,'ankh',0)
endfunction
function CreateUnitsForPlayer2 takes nothing returns nothing
local player p=Player(2)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit04=CreateUnit(p,'Ekee',-655.6,289.4,270.000)
call SetHeroLevel(udg_unit04,10,false)
call SelectHeroSkill(udg_unit04,'AEer')
call SelectHeroSkill(udg_unit04,'AEer')
call SelectHeroSkill(udg_unit04,'AEer')
call SelectHeroSkill(udg_unit04,'AEfn')
call SelectHeroSkill(udg_unit04,'AEfn')
call SelectHeroSkill(udg_unit04,'AEfn')
call SelectHeroSkill(udg_unit04,'AEah')
call SelectHeroSkill(udg_unit04,'AEah')
call SelectHeroSkill(udg_unit04,'AEah')
call SelectHeroSkill(udg_unit04,'AEtq')
call UnitAddItemToSlotById(udg_unit04,'ankh',0)
call UnitAddItemToSlotById(udg_unit04,'pghe',1)
call UnitAddItemToSlotById(udg_unit04,'pnvu',2)
endfunction
function CreateUnitsForPlayer3 takes nothing returns nothing
local player p=Player(3)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit05=CreateUnit(p,'Emoo',-193.3,295.1,270.000)
call SetHeroLevel(udg_unit05,10,false)
call SelectHeroSkill(udg_unit05,'AEst')
call SelectHeroSkill(udg_unit05,'AEst')
call SelectHeroSkill(udg_unit05,'AEst')
call SelectHeroSkill(udg_unit05,'AHfa')
call SelectHeroSkill(udg_unit05,'AHfa')
call SelectHeroSkill(udg_unit05,'AHfa')
call SelectHeroSkill(udg_unit05,'AEar')
call SelectHeroSkill(udg_unit05,'AEar')
call SelectHeroSkill(udg_unit05,'AEar')
call SelectHeroSkill(udg_unit05,'AEsf')
call UnitAddItemToSlotById(udg_unit05,'ankh',0)
call UnitAddItemToSlotById(udg_unit05,'pghe',1)
call UnitAddItemToSlotById(udg_unit05,'pnvu',2)
endfunction
function CreateUnitsForPlayer4 takes nothing returns nothing
local player p=Player(4)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit06=CreateUnit(p,'Edem',263.4,283.7,270.000)
call SetHeroLevel(udg_unit06,10,false)
call SelectHeroSkill(udg_unit06,'AEmb')
call SelectHeroSkill(udg_unit06,'AEmb')
call SelectHeroSkill(udg_unit06,'AEmb')
call SelectHeroSkill(udg_unit06,'AEim')
call SelectHeroSkill(udg_unit06,'AEim')
call SelectHeroSkill(udg_unit06,'AEim')
call SelectHeroSkill(udg_unit06,'AEev')
call SelectHeroSkill(udg_unit06,'AEev')
call SelectHeroSkill(udg_unit06,'AEev')
call SelectHeroSkill(udg_unit06,'AEme')
call UnitAddItemToSlotById(udg_unit06,'ankh',0)
call UnitAddItemToSlotById(udg_unit06,'pghe',1)
call UnitAddItemToSlotById(udg_unit06,'pnvu',2)
endfunction
function CreateUnitsForPlayer5 takes nothing returns nothing
local player p=Player(5)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit07=CreateUnit(p,'Ewar',773.1,278.0,270.000)
call SetHeroLevel(udg_unit07,10,false)
call SelectHeroSkill(udg_unit07,'AEfk')
call SelectHeroSkill(udg_unit07,'AEfk')
call SelectHeroSkill(udg_unit07,'AEfk')
call SelectHeroSkill(udg_unit07,'AEbl')
call SelectHeroSkill(udg_unit07,'AEbl')
call SelectHeroSkill(udg_unit07,'AEbl')
call SelectHeroSkill(udg_unit07,'AEsh')
call SelectHeroSkill(udg_unit07,'AEsh')
call SelectHeroSkill(udg_unit07,'AEsh')
call SelectHeroSkill(udg_unit07,'AEsv')
call UnitAddItemToSlotById(udg_unit07,'ankh',0)
call UnitAddItemToSlotById(udg_unit07,'pghe',1)
call UnitAddItemToSlotById(udg_unit07,'pnvu',2)
endfunction
function CreateBuildingsForPlayer7 takes nothing returns nothing
local player p=Player(7)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'uzg1',-352.0,-1184.0,270.000)
set u=CreateUnit(p,'uzg1',352.0,-1184.0,270.000)
endfunction
function CreateUnitsForPlayer7 takes nothing returns nothing
local player p=Player(7)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit02=CreateUnit(p,'Uear',0.0,-1208.0,90.000)
call SetHeroLevel(udg_unit02,10,false)
call SetHeroStr(udg_unit02,100,true)
call SetHeroAgi(udg_unit02,100,true)
call SetHeroInt(udg_unit02,100,true)
call SelectHeroSkill(udg_unit02,'AUdc')
call SelectHeroSkill(udg_unit02,'AUdc')
call SelectHeroSkill(udg_unit02,'AUdc')
call SelectHeroSkill(udg_unit02,'AUdp')
call SelectHeroSkill(udg_unit02,'AUdp')
call SelectHeroSkill(udg_unit02,'AUdp')
call SelectHeroSkill(udg_unit02,'AUau')
call SelectHeroSkill(udg_unit02,'AUau')
call SelectHeroSkill(udg_unit02,'AUau')
call SelectHeroSkill(udg_unit02,'AUan')
call SelectHeroSkill(udg_unit02,'AHtc')
call SelectHeroSkill(udg_unit02,'AHtc')
call SelectHeroSkill(udg_unit02,'AHtc')
call SelectHeroSkill(udg_unit02,'AHav')
call UnitAddItemToSlotById(udg_unit02,'ankh',0)
endfunction
function CreateUnitsForPlayer8 takes nothing returns nothing
local player p=Player(8)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit09=CreateUnit(p,'Udea',257.3,-875.4,90.000)
call SetHeroLevel(udg_unit09,10,false)
call SelectHeroSkill(udg_unit09,'AUdc')
call SelectHeroSkill(udg_unit09,'AUdc')
call SelectHeroSkill(udg_unit09,'AUdc')
call SelectHeroSkill(udg_unit09,'AUdp')
call SelectHeroSkill(udg_unit09,'AUdp')
call SelectHeroSkill(udg_unit09,'AUdp')
call SelectHeroSkill(udg_unit09,'AUau')
call SelectHeroSkill(udg_unit09,'AUau')
call SelectHeroSkill(udg_unit09,'AUau')
call SelectHeroSkill(udg_unit09,'AUan')
call UnitAddItemToSlotById(udg_unit09,'ankh',0)
call UnitAddItemToSlotById(udg_unit09,'pghe',1)
call UnitAddItemToSlotById(udg_unit09,'pnvu',2)
endfunction
function CreateUnitsForPlayer9 takes nothing returns nothing
local player p=Player(9)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit08=CreateUnit(p,'Ulic',-666.1,-867.1,90.000)
call SetHeroLevel(udg_unit08,10,false)
call SelectHeroSkill(udg_unit08,'AUfn')
call SelectHeroSkill(udg_unit08,'AUfn')
call SelectHeroSkill(udg_unit08,'AUfn')
call SelectHeroSkill(udg_unit08,'AUfu')
call SelectHeroSkill(udg_unit08,'AUfu')
call SelectHeroSkill(udg_unit08,'AUfu')
call IssueImmediateOrder(udg_unit08,"frostarmoroff")
call SelectHeroSkill(udg_unit08,'AUdr')
call SelectHeroSkill(udg_unit08,'AUdr')
call SelectHeroSkill(udg_unit08,'AUdr')
call SelectHeroSkill(udg_unit08,'AUdd')
call UnitAddItemToSlotById(udg_unit08,'ankh',0)
call UnitAddItemToSlotById(udg_unit08,'pghe',1)
call UnitAddItemToSlotById(udg_unit08,'pnvu',2)
endfunction
function CreateUnitsForPlayer10 takes nothing returns nothing
local player p=Player(10)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit01=CreateUnit(p,'Udre',710.9,-873.1,90.000)
call SetHeroLevel(udg_unit01,10,false)
call SelectHeroSkill(udg_unit01,'AUcs')
call SelectHeroSkill(udg_unit01,'AUcs')
call SelectHeroSkill(udg_unit01,'AUcs')
call SelectHeroSkill(udg_unit01,'AUsl')
call SelectHeroSkill(udg_unit01,'AUsl')
call SelectHeroSkill(udg_unit01,'AUsl')
call SelectHeroSkill(udg_unit01,'AUav')
call SelectHeroSkill(udg_unit01,'AUav')
call SelectHeroSkill(udg_unit01,'AUav')
call SelectHeroSkill(udg_unit01,'AUin')
call UnitAddItemToSlotById(udg_unit01,'ankh',0)
call UnitAddItemToSlotById(udg_unit01,'pghe',1)
call UnitAddItemToSlotById(udg_unit01,'pnvu',2)
endfunction
function CreateUnitsForPlayer11 takes nothing returns nothing
local player p=Player(11)
local unit u
local integer unitID
local trigger t
local real life
set udg_unit03=CreateUnit(p,'Ucrl',-197.5,-860.9,90.000)
call SetHeroLevel(udg_unit03,10,false)
call SelectHeroSkill(udg_unit03,'AUim')
call SelectHeroSkill(udg_unit03,'AUim')
call SelectHeroSkill(udg_unit03,'AUim')
call SelectHeroSkill(udg_unit03,'AUts')
call SelectHeroSkill(udg_unit03,'AUts')
call SelectHeroSkill(udg_unit03,'AUts')
call SelectHeroSkill(udg_unit03,'AUcb')
call SelectHeroSkill(udg_unit03,'AUcb')
call SelectHeroSkill(udg_unit03,'AUcb')
call IssueImmediateOrder(udg_unit03,"Carrionscarabsoff")
call SelectHeroSkill(udg_unit03,'AUls')
call UnitAddItemToSlotById(udg_unit03,'ankh',0)
call UnitAddItemToSlotById(udg_unit03,'pghe',1)
call UnitAddItemToSlotById(udg_unit03,'pnvu',2)
endfunction
function CreateNeutralPassiveBuildings2 takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_PASSIVE)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'ndfl',896.0,-1152.0,270.000)
set u=CreateUnit(p,'ndfl',-832.0,576.0,270.000)
endfunction
function Trig_start_Actions takes nothing returns nothing
call DisplayTimedTextToForce(GetPlayersAllies(Player(1)),20.00,"TRIGSTR_041")
call DisplayTimedTextToForce(GetPlayersAllies(Player(7)),20.00,"TRIGSTR_042")
endfunction
function Trig_playing_Func001001 takes nothing returns boolean
return(GetPlayerSlotState(Player(2))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func002001 takes nothing returns boolean
return(GetPlayerSlotState(Player(3))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func003001 takes nothing returns boolean
return(GetPlayerSlotState(Player(4))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func004001 takes nothing returns boolean
return(GetPlayerSlotState(Player(5))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func005001 takes nothing returns boolean
return(GetPlayerSlotState(Player(8))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func006001 takes nothing returns boolean
return(GetPlayerSlotState(Player(9))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func007001 takes nothing returns boolean
return(GetPlayerSlotState(Player(10))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Func008001 takes nothing returns boolean
return(GetPlayerSlotState(Player(11))!=PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_playing_Actions takes nothing returns nothing
if(Trig_playing_Func001001())then
call RemoveUnit(udg_unit04)
else
call DoNothing()
endif
if(Trig_playing_Func002001())then
call RemoveUnit(udg_unit05)
else
call DoNothing()
endif
if(Trig_playing_Func003001())then
call RemoveUnit(udg_unit06)
else
call DoNothing()
endif
if(Trig_playing_Func004001())then
call RemoveUnit(udg_unit07)
else
call DoNothing()
endif
if(Trig_playing_Func005001())then
call RemoveUnit(udg_unit09)
else
call DoNothing()
endif
if(Trig_playing_Func006001())then
call RemoveUnit(udg_unit08)
else
call DoNothing()
endif
if(Trig_playing_Func007001())then
call RemoveUnit(udg_unit01)
else
call DoNothing()
endif
if(Trig_playing_Func008001())then
call RemoveUnit(udg_unit03)
else
call DoNothing()
endif
endfunction
function Trig_start_timer_Actions takes nothing returns nothing
call CreateTimerDialogBJ(udg_timer01,"Game Time :")
set udg_timerdialog01=GetLastCreatedTimerDialogBJ()
call TimerDialogDisplayBJ(true,udg_timerdialog01)
endfunction
function Trig_mid_timer_Actions takes nothing returns nothing
set udg_real01=(udg_real01+1)
call StartTimerBJ(udg_timer01,false,udg_real01)
call PauseTimerBJ(true,udg_timer01)
endfunction
function Trig_potm_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Hpal',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_kotg_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Hamg',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_dh_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Hmkg',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_warden_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Hblm',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_lich_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Obla',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_cl_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Ofar',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_dk_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Otch',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_d_Actions takes nothing returns nothing
call ReplaceUnitBJ(GetTriggerUnit(),'Oshd',bj_UNIT_STATE_METHOD_MAXIMUM)
endfunction
function Trig_ne_w_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call DisplayTextToForce(GetPlayersAll(),"Snaketec the noob kaki has fallen...")
call DisplayTextToForce(GetPlayersAll(),"Tq for playing. Made by balykS")
call TriggerSleepAction(10.00)
call CustomVictoryBJ(Player(1),true,true)
call CustomVictoryBJ(Player(2),true,true)
call CustomVictoryBJ(Player(3),true,true)
call CustomVictoryBJ(Player(4),true,true)
call CustomVictoryBJ(Player(5),true,true)
call CustomDefeatBJ(Player(7),"Defeat!")
call CustomDefeatBJ(Player(8),"Defeat!")
call CustomDefeatBJ(Player(9),"Defeat!")
call CustomDefeatBJ(Player(10),"Defeat!")
call CustomDefeatBJ(Player(11),"Defeat!")
endfunction
function Trig_ud_w_Actions takes nothing returns nothing
call TriggerSleepAction(1.00)
call DisplayTextToForce(GetPlayersAll(),"ngonngon the noob ka has fallen...")
call DisplayTextToForce(GetPlayersAll(),"Tq for playing. Made by balykS")
call TriggerSleepAction(10.00)
call CustomVictoryBJ(Player(7),true,true)
call CustomVictoryBJ(Player(8),true,true)
call CustomVictoryBJ(Player(9),true,true)
call CustomVictoryBJ(Player(10),true,true)
call CustomVictoryBJ(Player(11),true,true)
call CustomDefeatBJ(Player(1),"Defeat!")
call CustomDefeatBJ(Player(2),"Defeat!")
call CustomDefeatBJ(Player(3),"Defeat!")
call CustomDefeatBJ(Player(4),"Defeat!")
call CustomDefeatBJ(Player(5),"Defeat!")
endfunction
function main2 takes nothing returns nothing
call SetCameraBounds(-1280.0+GetCameraMargin(CAMERA_MARGIN_LEFT),-1536.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM),1280.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),1024.0-GetCameraMargin(CAMERA_MARGIN_TOP),-1280.0+GetCameraMargin(CAMERA_MARGIN_LEFT),1024.0-GetCameraMargin(CAMERA_MARGIN_TOP),1280.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),-1536.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCFelwood\\DNCFelwoodTerrain\\DNCFelwoodTerrain.mdl","Environment\\DNC\\DNCFelwood\\DNCFelwoodUnit\\DNCFelwoodUnit.mdl")
call NewSoundEnvironment("Default")
call SetAmbientDaySound("FelwoodDay")
call SetAmbientNightSound("FelwoodNight")
call SetMapMusic("Music",true,0)
call CreateNeutralPassiveBuildings2()
call CreateBuildingsForPlayer1()
call CreateBuildingsForPlayer7()
call CreateUnitsForPlayer1()
call CreateUnitsForPlayer2()
call CreateUnitsForPlayer3()
call CreateUnitsForPlayer4()
call CreateUnitsForPlayer5()
call CreateUnitsForPlayer7()
call CreateUnitsForPlayer8()
call CreateUnitsForPlayer9()
call CreateUnitsForPlayer10()
call CreateUnitsForPlayer11()
set udg_timer01=CreateTimer()
set udg_real01=0
set udg_trigger01=CreateTrigger()
call TriggerAddAction(udg_trigger01,function Trig_start_Actions)
set udg_trigger02=CreateTrigger()
call TriggerAddAction(udg_trigger02,function Trig_playing_Actions)
set udg_trigger03=CreateTrigger()
call TriggerRegisterTimerEventSingle(udg_trigger03,0.01)
call TriggerAddAction(udg_trigger03,function Trig_start_timer_Actions)
set udg_trigger04=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(udg_trigger04,1.00)
call TriggerAddAction(udg_trigger04,function Trig_mid_timer_Actions)
set udg_trigger05=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger05,udg_unit05,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger05,function Trig_potm_Actions)
set udg_trigger06=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger06,udg_unit04,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger06,function Trig_kotg_Actions)
set udg_trigger07=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger07,udg_unit06,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger07,function Trig_dh_Actions)
set udg_trigger08=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger08,udg_unit07,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger08,function Trig_warden_Actions)
set udg_trigger09=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger09,udg_unit08,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger09,function Trig_lich_Actions)
set udg_trigger10=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger10,udg_unit03,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger10,function Trig_cl_Actions)
set udg_trigger11=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger11,udg_unit09,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger11,function Trig_dk_Actions)
set udg_trigger12=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger12,udg_unit01,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger12,function Trig_d_Actions)
set udg_trigger13=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger13,udg_unit02,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger13,function Trig_ne_w_Actions)
set udg_trigger14=CreateTrigger()
call TriggerRegisterUnitEvent(udg_trigger14,udg_unit10,EVENT_UNIT_DEATH)
call TriggerAddAction(udg_trigger14,function Trig_ud_w_Actions)
call ConditionalTriggerExecute(udg_trigger01)
call ConditionalTriggerExecute(udg_trigger02)
endfunction
function InitTrig_init takes nothing returns nothing
call ExecuteFunc("main2")
endfunction