Using the Cast function

Post » Fri May 13, 2011 3:10 pm

Alright so the problem in my script is in these lines:

PGAzulRef.cast PG18Faint PGAzulRef
PGGoldenCookRef.cast PG18Faint PGGoldenCookRef
PGJonesRef.cast PG18Faint PGJonesRef

For some strange reason, the first and second ref cast the spell, but the middle doesn't even though they are in the same cell. The spell level is novice and requires 0 magicka points to cast. I'm not really sure what gives. It's a self spell, but is disallows reflection/absorption and can be cast when silenced. The first and the third manage to cast it while the middle doesn't. It's not even that the middle has some extremely high willpower or something. Quite strange.
User avatar
Luna Lovegood
 
Posts: 3325
Joined: Thu Sep 14, 2006 6:45 pm

Post » Fri May 13, 2011 7:03 am

Well if the first and third line are working, your code looks golden to me. Seems to me that you must have made a silly user error with GoldenCook. I'll assume that you specified and set the variable the same as you did with the other two so perhaps your problem is with the reference or the base. What's different between the two references and bases which are working and the one that is not?

~Blessed be
User avatar
Tom
 
Posts: 3463
Joined: Sun Aug 05, 2007 7:39 pm

Post » Fri May 13, 2011 3:18 pm

check cast in the cs wiki - has some bugs
User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm


Return to IV - Oblivion