bluemarvin Posted June 4, 2012 Share Posted June 4, 2012 (edited) Does anyone know how to remove the "Stolen" mark on items that have been swiped? I'm probably blind but can't find where this flag is toggled. Edited June 4, 2012 by bluemarvin Link to comment Share on other sites More sharing options...
gasti89 Posted June 4, 2012 Share Posted June 4, 2012 Uhm, i think it's related to the object's owner or the cell-in-wich-the-object-is owner. In the CK, go to the reference of the object you want. If there's a OWNER, set it to NONE. If it doesn't work, go to the cell in wich the object is and see if it's OWNED by someone, then set it to NONE too. Link to comment Share on other sites More sharing options...
bluemarvin Posted June 4, 2012 Author Share Posted June 4, 2012 Thanks... appreciate the direction. Now I just need to find a way to make a script that can go through stacks of items in a container and set the ownership and I'll be there. Link to comment Share on other sites More sharing options...
bluemarvin Posted June 4, 2012 Author Share Posted June 4, 2012 The confusing part here being... if I have a stack of 10 pieces of bread in a container, and some are stolen and others are not, but they just appear in a single red stack of 10... how do you process each piece of bread in turn to change the ownership faction? Link to comment Share on other sites More sharing options...
Perraine Posted June 4, 2012 Share Posted June 4, 2012 Put them (the items) in a random barrel, then order your follower to 'loot' the barrel ... Solved, fixes the "all items of that type now stolen" bug. Link to comment Share on other sites More sharing options...
bluemarvin Posted June 4, 2012 Author Share Posted June 4, 2012 (edited) Well that might work in game, but I'm trying to find a way to automatically strip the "Stolen" status off food items as they're added to a specific storage container. Cause seriously... who's gonna recognize a stolen Leek. :) I found a function to set the faction but... haven't yet found any functions to set ownership. Edited June 4, 2012 by bluemarvin Link to comment Share on other sites More sharing options...
bluemarvin Posted June 4, 2012 Author Share Posted June 4, 2012 Tried this, thought I was clever but... no luck: Event OnItemAdded (Form akBaseItem, Int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) akItemReference.SetFactionOwner(NONE) akItemReference.SetActorOwner(NONE) EndEvent Link to comment Share on other sites More sharing options...
fg109 Posted June 4, 2012 Share Posted June 4, 2012 RemoveAllItems - keep ownership flag. Link to comment Share on other sites More sharing options...
Recommended Posts