Spell\Power only usable upon Level Up?

Post » Sun Nov 18, 2012 9:09 am

I don't suppose it's possible to rig it where you can only cast a spell following a level up, but otherwise have it not function\fizzle\greyed out? Alternatively.. I was also wonder if it is possible to lock the player out of gaining a level altogether?
User avatar
Genevieve
 
Posts: 3424
Joined: Sun Aug 13, 2006 4:22 pm

Post » Sun Nov 18, 2012 3:16 am

Use the OnStoryIncreaseLevel Event to switch a variable (could be a Global or just a Property variable in a Quest), and make that variable a condition for the Spell's effects. Also attach a Script effect to the spell with an OnEffectFinish Event to switch back the Global/Property variable so the spell is only usable once after every level up.
User avatar
kirsty williams
 
Posts: 3509
Joined: Sun Oct 08, 2006 5:56 am

Post » Sun Nov 18, 2012 8:51 am

Use the OnStoryIncreaseLevel Event to switch a variable (could be a Global or just a Property variable in a Quest), and make that variable a condition for the Spell's effects. Also attach a Script effect to the spell with an OnEffectFinish Event to switch back the Global/Property variable so the spell is only usable once after every level up.
How would you set up a quest for that exactly? I get that you place a property in a script attached to a quest, but.. how do you setup the quest to use the script, or maybe I don't understand this as well as I thought. *confused*
User avatar
no_excuse
 
Posts: 3380
Joined: Sun Jul 16, 2006 3:56 am


Return to V - Skyrim