Consumption

Post » Tue Jun 19, 2012 9:27 am

I have a script (extends Quest) that is set to always run with some operations in OnUpdate().

I want to track when the player eats food from her inventory (and compare this against a formlist).
How would I set this up?

I figure I use OnItemRemoved but not sure how to set this up in relation to my extends Quest script. Do i need a second script?

Then, what is the destination container for a consumed item? Or, how does the game differentiate between it being consumed and say, sold or dropped?

Thanks for help!
User avatar
Harry Hearing
 
Posts: 3366
Joined: Sun Jul 22, 2007 6:19 am

Return to V - Skyrim