Now, the problem I'm havin is, it doesn't work.
The really weird thing is, I can't see why it doesn't. The code dealing with the Black Star is exactly the same as the code dealing with Azura's Star except for the names:
SoulGem property DA01SoulGemAzurasStar autoSoulGem property DA01SoulGemBlackStar auto
int numBlackStar = Actor.GetItemCount(DA01SoulGemBlackStar)int numAzurasStar = Actor.GetItemCount(DA01SoulGemAzurasStar)
To test the script, I gave myself 10 Azura's Stars and 10 Black Stars, and triggered the script, which includes this line:
Debug.Notification("Black Stars found: "+numBlackStar+" Azura Stars: "+numAzurasStar)When the script is triggered, it /always/ says "Black Stars found: 0 Azura Stars: x" (where x is the number of Azura's Stars in my inventory), regardless of how many Black Stars I have.
At first I thought that it might have been because the save I was playing wasn't vanilla and something was conflicting, but I still have the problem even with a brand new, vanilla game.
Could someone tell me what is wrong? Or even better, how to fix it?
