Code: Select all
function Trig_Read_Item_start_Actions takes nothing returns nothing
if(Trig_Read_Item_start_Func001C())then
call UnitAddItemByIdSwapped('I03A',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I03D',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I034',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I041',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I03I',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I04Y',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func003C())then
call UnitAddItemByIdSwapped('I03Z',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I03J',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I05Y',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I046',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I03P',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func005C())then
call UnitAddItemByIdSwapped('I06F',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06G',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06I',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I0BD',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I0B6',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06J',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func007C())then
call UnitAddItemByIdSwapped('I04E',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06X',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06Z',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06V',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06T',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I051',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I070',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func009C())then
call UnitAddItemByIdSwapped('I067',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I069',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I06A',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I066',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I068',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func011C())then
call UnitAddItemByIdSwapped('I03M',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I061',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I064',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I063',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I065',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I062',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func013C())then
call UnitAddItemByIdSwapped('I04C',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I04H',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I04D',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I07C',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I077',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func015C())then
call UnitAddItemByIdSwapped('I07F',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I07K',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I07G',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I045',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I07O',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I07M',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
if(Trig_Read_Item_start_Func016C())then
call UnitAddItemByIdSwapped('I080',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I07X',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I082',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I081',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
call UnitAddItemByIdSwapped('I087',udg_hero[(1+GetPlayerId(GetOwningPlayer(GetTriggerUnit())))])
set udg_Item_TXT=GetItemName(bj_lastCreatedItem)
call SetItemPlayer(bj_lastCreatedItem,GetOwningPlayer(GetTriggerUnit()),true)
endif
set udg_Item_TXT=""
endfunction