item_destroyed=0 function destroy_object_transport_init(e) end function destroy_object_transport_main(e) if g_Entity[e]['health']<=0 then item_destroyed=1 end end