LoginToDownload Posted August 4, 2008 Share Posted August 4, 2008 Make sure that the structure of the Begin/End blocks goes... BeginDo StuffEnd BeginDo StuffEnd, instead of something like... BeginDo StuffBeginDo StuffEndEnd. AddSpell does work on Greater and Lesser powers, and incidentally Abilities and Diseases. In fact, they're all (including actual spells) subtypes of the Spell. To attach the script to your book, open up the book in the Object window and select your script from the drop-down box labeled "Script", just below the ID. Link to comment Share on other sites More sharing options...
tnu Posted August 4, 2008 Author Share Posted August 4, 2008 does that include the two begins that exist in the two diffrent parts of the script? its listed above Link to comment Share on other sites More sharing options...
LoginToDownload Posted August 4, 2008 Share Posted August 4, 2008 Yup. You have to end the first before beginning the next. Link to comment Share on other sites More sharing options...
tnu Posted August 4, 2008 Author Share Posted August 4, 2008 ok now i'm confused. how do i add powers? i'm tryign to have the book add some lesser powers Link to comment Share on other sites More sharing options...
LoginToDownload Posted August 4, 2008 Share Posted August 4, 2008 You add powers as if they were spells. AddSpell VampDisease, (Porphyric Hemophilia) AddSpell BSMage, (Mage Birthsign Attributes) AddSpell lpRaceKhajiitNighteye (Eye of Night Lesser Power), and AddSpell StandardFireDamageTarget1Novice (Flare Spell) are all equally valid. Link to comment Share on other sites More sharing options...
tnu Posted August 5, 2008 Author Share Posted August 5, 2008 ok i'll see how this works Link to comment Share on other sites More sharing options...
tnu Posted August 5, 2008 Author Share Posted August 5, 2008 ok this script isnt working. I keep getting this messege line 9 Nested Begin/end blocks are not allowd Link to comment Share on other sites More sharing options...
LoginToDownload Posted August 5, 2008 Share Posted August 5, 2008 Can you copy the exact script you use? The example doesn't turn up any errors in my CS... Link to comment Share on other sites More sharing options...
tnu Posted August 5, 2008 Author Share Posted August 5, 2008 scn ToasterSpellBookScript Begin OnActivate AddSpell 1toastcrybattle. AddSpell 1toastmenuspell AddSpell 1toastpowerofhate AddSpell 1toastpowerofsharing Begin OnEquip AddSpell 1toastcrybattle AddSpell 1toastmenuspell AddSpell 1toastpowerofhate AddSpell 1toastpowerofsharing end Link to comment Share on other sites More sharing options...
LoginToDownload Posted August 5, 2008 Share Posted August 5, 2008 Yup. You're missing an "end". As is, it goes Begin Begin End. Add another end a line above Begin OnEquip and you should be golden. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.