Changing asset of entry's assetfield via entries.onBeforeSaveEntry
After taking a look again, it turned out to simply be an issue with the scope of the array and a therefore empty array as a result. Works as expected now.