Jump to content

Items Marked Stolen


bluemarvin

Recommended Posts

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

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

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 by bluemarvin
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...