I am successfully iterating over items near a character via IterateItemsNear(GAMEOBJECT source, FLOAT radius, FIXEDSTRING eventname). Now I want to add the found items to the characters inventory but unfortunately I cant see a way how to do this.
The problem is that the OnIterateItem(ITEM:source, FIXEDSTRING:eventId) function returns ITEM objects but to add items to a characters inventory I have to use the itemStatsID (CharacterAddToInventory(CHARACTER character, FIXEDSTRING itemStatsObject[, INT amount]))...

Do you guys know a way how to accomplish my goal? Is it possible to extract the ID from the ITEM object?

A workaround I had in mind is to use CharacterPickUpItem(ITEM item). But I would like to avoid waiting for the character to go to the item and playing the pickup animation.