Morelia Posted June 4, 2006 Share Posted June 4, 2006 First of all i have to say hello to everyone :) I'm working on a small mod that will allow you to bottle blood once you bite someones neck.(based on another mod) Now everything works great, this includes blood bottling etc.. the mod that i used to bottle blood is http://www.tessource.net/files/file.php?id=3036 When i load my vamps save(using this mod)i notice that my vampire is stuck on stage 1 vampirism.. no matter how long i sleep or wait. The VampireScript is to blame, it was modified by the mods creator for the bottled blood to work.I know this since when i replace it with the original it gets fixed.If i manage to fix it i will share it with everyone, also the mod will include a fix for a bug regarding feeding hours. If someone thinks that he can fix this please do download the mod itself and open the following script "VampireScript"and see if you can make it work. Link to comment Share on other sites More sharing options...
Morelia Posted June 9, 2006 Author Share Posted June 9, 2006 Forgive me for double posting, it's like 10 days that i wait for an answer from many site-forums.I am 100% sure that it is very simple, from only taking a look at the script you can figure it i assume. Looking forward, if it's not possible then i better forget about it. Link to comment Share on other sites More sharing options...
mezlo Posted June 11, 2006 Share Posted June 11, 2006 I think what's going on is the bottledblood author is using "return" incorrectly. He is trying to use it to abort the if/else block but instead it is causing the whole script to abort (which is how "return" is designed to work). I haven't tested this but see if it works. In the modified VampireScript replace the following code: MessageBox "Your hunger for blood has been satisfied. Do you wish to bottle blood?", "yes", "no" Set Messagestatus to 1 endif endif if ( Messagestatus != 1 ) return endif if ( Messagestatus == 1 ) set button to getbuttonpressed if ( button == -1 ) return elseif ( button == 0 ) player.additem Humanblood, 1 elseif ( button == 1 ) return endif endif with this code: MessageBox "Your hunger for blood has been satisfied. Do you wish to bottle blood?", "yes", "no" Set Messagestatus to 1 endif endif if ( Messagestatus == 1 ) set button to getbuttonpressed if ( button == 0 ) player.additem Humanblood, 1 endif endif Hopefully this will solve the issue. Mezlo Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.