Hey guys I need some script help.
I have a quest that runs when the player kills an animal. The following script is in the stage frag for one of the animals:
Spoiler ;Deer Carcass Alias_Animal.GetActorReference().RemoveAllItems() Alias_Animal.GetActorReference().AddItem(Carcass, 1)SetStage(20)
The issue I have now, thanks to not realising at the time, is that the arrows the player uses to kill the animal also get removed. I don't want that, just the items the animal has (like pelt, meat ect).
Is there a way to RemoveAllItems, except those with a keyword VendorItemArrow perhaps?
Appreciate the help as always

EDIT2
Almost every time a post a problem, I figure out a workaround. It's possible to remove all item that are arrows, move them to a container, then remove all items on the animal, and transfer the arrows back isn't it?
How would the line of code look, to remove all arrows to a container somewhere?
EDIT3
NVM, just made a formlist with all the arrows in it. Works great

Spoiler ;Deer Carcass AnimalREF.GetActorRef().RemoveItem(HISARFL, AnimalREF.GetActorRef().GetItemCount(HISARFL), True, ArrowChest) AnimalREF.GetActorRef().RemoveAllItems() AnimalREF.GetActorRef().AddItem(Carcass, 1) ArrowChest.RemoveAllItems(akTransferTo = AnimalREF.GetActorRef())SetStage(20)
I would still like to use Keywords instead though, for mods that add new arrows not included in my formlist. If anyone has that solution please let me know
