Quote (llka)
Только если ты скинешь два предмета в течении секунды, то удалиться самый первый.
да, правильнее так:
Code
function Trig_Untitled_Trigger_002_Copy_Actions takes nothing returns nothing
local item i = GetLastRemovedItem()
call TriggerSleepAction(1.00)
call RemoveItem(i)
set i = null
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_002_Copy takes nothing returns nothing
set gg_trg_Untitled_Trigger_002_Copy = CreateTrigger( )
call TriggerRegisterPlayerUnitEventSimple( gg_trg_Untitled_Trigger_002_Copy, Player(0), EVENT_PLAYER_UNIT_DROP_ITEM )
call TriggerAddAction( gg_trg_Untitled_Trigger_002_Copy, function Trig_Untitled_Trigger_002_Copy_Actions )
endfunction