Maermaethor Posted July 21, 2012 Share Posted July 21, 2012 I have recently decided to try to do some modding for Skyrim. I have very little previous experience with modding save for the odd replacement texture or sound file, and no programming experience save basic "Hello world" python tutorials. I noticed that the crime area of Skyrim lacked mods and decided to try doing something there, with plans of a huge mod that would completely overhaul the entire system. However, since I am not experienced, I decided to do something smaller to begin with to see if I was able to get anything done, learning to use the Creation Kit and learning some scripting while trying to make something. So, what I have started making is a mod where you can try to rob people by having your weapon(s) drawn and talking to them. This will do an intimidate check and a random chance to see if they submit. If they don't, it sends an assault alarm, and if they do, you are able to open their inventory and take their stuff. The problem which I am currently stuck at is having those items marked as stolen. When I open the inventory and take stuff, it's like trading items with a follower. Is there any way where I could make it so that any items you take from their inventory would be marked as stolen? I have not found any scripts which alter the stolen status of items. Later on, I also plan on trying to make something where stolen items lose their stolen status over time as people forget or stop caring about the items, allowing you to sell them off to anyone. I would think it would involve using similar scripts or methods to the previous problem. Thank you! Maermaethor Link to comment Share on other sites More sharing options...
Maermaethor Posted July 22, 2012 Author Share Posted July 22, 2012 Bump and tl;dr: How do you mark items as stolen with Papyrus scripts? Thanks! Link to comment Share on other sites More sharing options...
steve40 Posted July 24, 2012 Share Posted July 24, 2012 (edited) Not quite sure, but maybe you could try setting the ownership of the item to an NPC that is not a friend of the player?SetActorOwner. Edited July 24, 2012 by steve40 Link to comment Share on other sites More sharing options...
ThadeusCalvin Posted August 26, 2018 Share Posted August 26, 2018 Hi steve40, Thank you for the tip. That works nicely for me. :) Link to comment Share on other sites More sharing options...
Recommended Posts