proutos Posted March 31, 2009 Share Posted March 31, 2009 I'm a noob and not able to make this work fine, so i ask help. The condition works for any soul level (== 0 to 5) and any gem if someone give me directly the good gem with the good level, or if the good one is lying on the floor. But if i get for example an empty Black Soul Gem, and the condition is to fill it with a human soul (GetSoulLevel BlackSoulGem == 5), well it won't work. Filling the empty BSG doesn't trigger what it should. Can someone help me ? Link to comment Share on other sites More sharing options...
nosisab Posted March 31, 2009 Share Posted March 31, 2009 I'm a noob and not able to make this work fine, so i ask help. The condition works for any soul level (== 0 to 5) and any gem if someone give me directly the good gem with the good level, or if the good one is lying on the floor. But if i get for example an empty Black Soul Gem, and the condition is to fill it with a human soul (GetSoulLevel BlackSoulGem == 5), well it won't work. Filling the empty BSG doesn't trigger what it should. Can someone help me ?Get functions retrieve values, do not store them. You shall use Set functions to it. I have the feeling there is something I'm misunderstanding here. Link to comment Share on other sites More sharing options...
proutos Posted March 31, 2009 Author Share Posted March 31, 2009 Me too lol.I don't know what is "retrieve values" nor "store", sorry. But ... if i put (SetSoulLevel BlackSoulgem == 5) on an empty black soul gem, it will fill it automatically, no ? Because I want that the player to fill it manually in game. Link to comment Share on other sites More sharing options...
proutos Posted March 31, 2009 Author Share Posted March 31, 2009 I don't know if i'm too bad in scripting to understand what's going wrong, but i really need help. Days that this is boring me to death ... I have no error syntax when saving the script. Using a specific reference, or GetCurrentSoulLevel or GetObjectValue 200 lead to the same (bad) results. Conditions work if the level don't change, but not if an empty gem get filled ... please, help ... Link to comment Share on other sites More sharing options...
proutos Posted April 1, 2009 Author Share Posted April 1, 2009 Help. F#cking Sh#t. Link to comment Share on other sites More sharing options...
nosisab Posted April 1, 2009 Share Posted April 1, 2009 Get functions shall be used to retrieve (to get values from...) Set functions shall be used to store values (place values at...) by your posts I can't figure what you wants to do, maybe no one can, so the lack of answer. Try showing us the piece of code, like it actually is... nobody here will steal your wonderful idea, you don't need even to put the entire code, just the problematic block. Link to comment Share on other sites More sharing options...
proutos Posted April 1, 2009 Author Share Posted April 1, 2009 Thanks for the reply. Yeah, my explanations are maybe a bit confused, and i'm not english.No problem with "stealing idea", i will try to explain the problem with the codes. The scenario is : Player have an EMPTY Black Soul Gem in his inventory. He must fill it with a human soul. Once done, once the level soul in the BSG is Grand, the stage quest increases. I thought the script was looking like : Begin GameMode if ( GetStage MyQuest == 10 ) if ( GetSoulLevel BlackSoulGem == 5 ) SetStage MyQuest 20 endifendif End This don't work ... but if i change the 5 by a 0, which means that the condition is that the BlackSoulGem must be empty to get the stage increase, well it works, as the BSG is already empty. I don't know why it's not checking the soul level after the gem got filled. Link to comment Share on other sites More sharing options...
nosisab Posted April 1, 2009 Share Posted April 1, 2009 Thanks for the reply. Yeah, my explanations are maybe a bit confused, and i'm not english.No problem with "stealing idea", i will try to explain the problem with the codes. The scenario is : Player have an EMPTY Black Soul Gem in his inventory. He must fill it with a human soul. Once done, once the level soul in the BSG is Grand, the stage quest increases. I thought the script was looking like : Begin GameMode if ( GetStage MyQuest == 10 ) if ( GetSoulLevel BlackSoulGem == 5 ) SetStage MyQuest 20 endifendif End This don't work ... but if i change the 5 by a 0, which means that the condition is that the BlackSoulGem must be empty to get the stage increase, well it works, as the BSG is already empty. I don't know why it's not checking the soul level after the gem got filled. Seems it is working... the quest will go to stage 20 only when the BSG actually have a 5 level soul (and since it works with 0 that soulgem is empty when the test is performed) Yet, I don't know for sure if the human soul have that value, I think yes but...To be sure the code is working you will need to soutrap some human npc (the sure way) or set the value artificially. If I remember correctly I had a black soulgem once and it was filled with a common creature soul when no other soulgem was present, so this may be a factor too. Another thing I'm not sure... Is not need a Colossal BSG to soultrap humans? One thing I have for granted with that code piece... if your BSG actually have a level 5 soul your quest will advance... and will not, if it is filled with any other value or empty... AND if your quest is at stage 10. So is in the gem filling you shall seek the problem's reason. Link to comment Share on other sites More sharing options...
nosisab Posted April 1, 2009 Share Posted April 1, 2009 Sorry for the double post but I thought something that may be useful... since the BSG risks to soultrap the wrong soul, you may fake it's filling. If you are interested only in a certain target may be better you check her death and 'force' the soultrap, artificially filling the gem, even if that soultrap failed for some reason (maybe a already filled BSG...) One can think that your's special BSG is tunned to that soul, and will soultrap it aways it can. Link to comment Share on other sites More sharing options...
proutos Posted April 1, 2009 Author Share Posted April 1, 2009 No, no need of a Colossal BSG to catch human souls. And once caught, i have the BSG in my Inventory with "CurrentSoulLevel : Grand", so the level of human soul must be 5 in the syntax. I also made a test with a Common Gem (instead of a BSG) to catch a Lesser soul level, 2 (instead of 5) and it still don't work ... What are you calling the sure way to catch human soul ? Once i get stage 10, i use an enchanted weapon with Soul Trap, then kill an NPC. I get the "I caught a soul !" message, with the corresponding sound. But that's all. And how can you set the value artificially ? You mean by using a SetSoulLevel, but in which conditions ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.