» Mon Jun 18, 2012 9:47 pm
Example to Add Spell
If you want to add a weapon, just replace Spell Type with Weapon, and use game.getplayer().AddItem(WeaponPropertyToAdd, 1)
0Step 1: Create a New Quest for this example we will use ZZ_MyNewQuest
Step 2: Add Quest Stages, for this example we will use Stage 5
Step 3: Click on New Log, now we are going to have to add some scripting. Click on Properties
Step 4: Click on Add Property, and Type = Spell and Name will give it for this example FireRuneSpell
Step 5: Click ok ok to apply, Now Click on your spell property you made select the FireRune spell and apply and in the fragment section type game.getplayer().AddSpell(FireRuneSpell)
Step 6: Goo Actors -> Perks -> Add New Perk -> Name it ZZ_MyNewPerk
Step 7: Goto the event area and select QUEST and select your Quest you created ZZ_MyNewQuest and put the Stage at 5
Step 8: Apply the new perk goto Character Menu -> Actor Value (ALT+C,A)
Step 9: Goto AVDestruction skill click on "Perks" now click on a perk hierarchy and select "Add Perk"
Step 10: Select your new perk you created ZZ_MyNewPerk and apply the changes and save your mod
Step 11: Test in game
Now i might of forgotten some stages its possible, because im doing this from memory i dont have the ck open