ok new version requires you to add DropLoot(e) to the exit function of the AI (not sure it matters but add it before any other code just to be sure it won't get messed up by any movement or destroy commands).
i.e.
function ai_classiccharacter_grendel_exit(e)
DropLoot(e)
CollisionOff(e)
Destroy(e)
end
the other 2 scripts are as normal;
- control script always active = yes on 1 object
- loot script on each loot item (follow instructions in script)