[Help] How to addremove item effect at runtime

Post » Sun Jun 23, 2013 1:59 pm

What I'm trying to achieve is to implement a custom option for the player, so that (s)he under certain circumstances can change the effects of consuming food items in the game world, on an instance by instance basis. To give an example: The player enters a house, and sees a wheel of cheese, selects it (e.g. by picking it up with z, or pointing his/her reticule at it), and activates the option, ideally through using another item, thus changing the result effect on this specific cheese wheel permanently from Restore health, to a diffrent one of my making.

I have no idea how to accomplish this (I've tried searching for ways to modify the effect list through scripts, but haven't found anything. http://www.creationkit.com/Dynamically_Attaching_Scripts tutorial on how to do something similar through the quest system looked promising, but I need the change to be persistent, not merely applied whenever the player is in the vicinity), so I'd be very grateful if anyone could point me in the right direction.

Thank you for your time.

User avatar
RObert loVes MOmmy
 
Posts: 3432
Joined: Fri Dec 08, 2006 10:12 am

Return to V - Skyrim