basla1 Posted January 6, 2020 Share Posted January 6, 2020 Hello, First sorry for my english it's not my main language. Actually I try to create a script where I will be able to reset NPC inventory when I activate my activator. (It's for renew guard stuck like potion and arrow) I tried to find something but still cannot figure what I need to do Thanks, Link to comment Share on other sites More sharing options...
basla1 Posted January 7, 2020 Author Share Posted January 7, 2020 Hello, First sorry for my english it's not my main language. Actually I try to create a script where I will be able to reset NPC inventory when I activate my activator. (It's for renew guard stuck like potion and arrow) I tried to find something but still cannot figure what I need to do Thanks, NVM I'm good with this one. Just another question is there a way to force NPC to equip equipment from a chest without taking the equipment from the chest(like doing a copy paste from the chest to NPC inventory) ? Via script or just need to do some link ? Thanks Link to comment Share on other sites More sharing options...
Hoamaii Posted January 9, 2020 Share Posted January 9, 2020 Just use "AddItem(...) on your actor script, the game will create a new instance of your object form and the other instance already placed in your chest will stay there. AddItem is basically a COPY(myForm) / PASTE(an instance of MyForm) kind of function. Link to comment Share on other sites More sharing options...
Recommended Posts