OnItemAdded() does not work for weapons?

Post » Thu Jun 21, 2012 3:48 am

Hello,
I'm trying to handle an event when the player pickup a weapon.
I've used the event OnItemAdded() but does not works.
Tried the OnGrab() and works but however I need the event when the player add the weapon on his inventory.

What I have to do?

Thank you.
User avatar
Hella Beast
 
Posts: 3434
Joined: Mon Jul 16, 2007 2:50 am

Post » Thu Jun 21, 2012 1:57 pm

OnItemAdded is for the NPC/container. Use OnContainerChanged instead.
User avatar
cheryl wright
 
Posts: 3382
Joined: Sat Nov 25, 2006 4:43 am

Post » Thu Jun 21, 2012 12:14 pm

thank you very much :)
User avatar
Brιonα Renae
 
Posts: 3430
Joined: Mon Oct 22, 2007 3:10 am


Return to V - Skyrim