I have a pedistal with a Book on it and I want the player to be able to click on the book and receive a temporary buff (for example +50 Carrywieght for 24 hours)
At the moment my book says "Hello Word"
Event OnActivate(ObjectReference akActionRef) Debug.MessageBox("Hello, World!")endEventA long way to go i know

Has anyone got an example scrpt I can rip apart or is there something similar in the game I can copy and deconstruct to get a better understanding?
I'm guessing I will need to use this somehow?
Game.GetPlayer().ModActorValue("CarryWeight", 50)
How to add the spell property and where to add it?