Hi everyone,
My videocard has crashed so I am taking the time off to work on a mod...I'll be back in Skyrim in August (why not earlier...don't ask)
Ok I would like the player to be able to craft a given sword only if he has the perk and he/she has red a recipe of the given sword. So as some of you suggested already I am using a global variable as well as a on activate event.
Basically the sript below will be attached to a piece of parchment where the crafting formula is written. Then that will set the Global Variable to (let's say 1) and in the crafting condition I would be able to add a condition, this global varibale set to 1.
My only problem is tha I am not familiar woth papyrus so I need you to tell me if I am right or wrong:
MAAtmorianswordGV is my Global Variable (will probably make is a SHORT
Upon reading/activating the parchment the player will get a message
I am assuming that the default values of the global variable is 0 (not sure I am right tell me...)
Scriptname MAAtmorianSwordRecipeScript extends ObjectReference
Event OnActivate(ObjectReference akActionRef)
GlobalVariable Property MAAtmorianSwordGV auto; access the global variable MAAtmorianSwordGV
MAAtmorianSwordGV.SetValue(1); set the global variable MAAtmorianSwordGV to 1
Debug.MessageBox("I've learn how to forge a Replica of the Royal Atmorian Sword. I can forge it if I already own the steel Perk")
EndEvent
So will this script works?
Thanks for your help