ayevdayev Posted October 10, 2010 Author Share Posted October 10, 2010 I need some help with spells in ES.1\. How do I make a class get a spell automatically at a certain level?2\. What does Vital Mod mean in the editor? Link to comment Share on other sites More sharing options...
cam13619 Posted October 10, 2010 Share Posted October 10, 2010 1.The easiest way would probably be to make a script in aponplayerlevel or something like that. Although im not shure if there is a script for learning spells.2.The change in HP, depending on if you set it as a kill spell or a heal spell. Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2010 Share Posted October 10, 2010 1st: It'd be something like..Sub OnLevelUpcase 0Call SetPlayerSpell(Index, 1, 2)That would put spell number 2 in slot 1. Link to comment Share on other sites More sharing options...
Zappy Posted October 13, 2010 Share Posted October 13, 2010 @Sekaru:> 1st: It'd be something like..> Sub OnLevelUp> case 0> Call SetPlayerSpell(Index, 1, 2)> > That would put spell number 2 in slot 1.You would probably NEED to put the certain fragment of code that checks to find an empty spell slot first, so it won't overwrite a spell you may have already taught yourself.I forget what the code looks like, but you could easily find it in pre-made quest scripts and such. Link to comment Share on other sites More sharing options...
Guest Posted October 13, 2010 Share Posted October 13, 2010 Was just giving an example, also you could/would need Goddie's inventory script. Link to comment Share on other sites More sharing options...
Zappy Posted October 13, 2010 Share Posted October 13, 2010 I know you were, a much better example then I could have came up with, you just reminded me of something that could help. *high five* Link to comment Share on other sites More sharing options...
Guest Posted October 13, 2010 Share Posted October 13, 2010 Heh ^^ Link to comment Share on other sites More sharing options...
Ruins of Hell Posted October 14, 2010 Share Posted October 14, 2010 To answer your Vital Mod question. If I set Vital Mod to 22 (or any number), and then set the spell to a healing spell, it would heal 22\. If I set it to a hurt spell, it would hurt 22. Link to comment Share on other sites More sharing options...
Zappy Posted October 15, 2010 Share Posted October 15, 2010 And if you set it to a death spell, they will die 22 times.No I'm kidding.Seems like a rather pointless post.*click*I hope you understand now! : ) Link to comment Share on other sites More sharing options...
ayevdayev Posted October 16, 2010 Author Share Posted October 16, 2010 Thanks for the help everyone, LOCKED! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now