Quest start scripting help please

Post » Tue Jun 19, 2012 6:15 pm

I made a letter where if read it starts a quest, it was working fine for a couple of days and then out of the blue it won't start the quest. Even on a clean save the quest will not start
script on the letter
- Scriptname DefaultOnReadSetQuestStage extends ReferenceAlias
- int Property myStage Auto
- Quest Property myQuest Auto
- event onRead()
- myQuest.setStage(myStage)
- endEvent
this is a defaultscript from the CK with mystage=5 and myquest=0strangersinskyrim.
help is appreciated

User avatar
Silencio
 
Posts: 3442
Joined: Sun Mar 18, 2007 11:30 pm

Post » Tue Jun 19, 2012 8:02 pm

I still haven't had any luck with it. Is there something I could have done to block that script from working?
User avatar
Luis Longoria
 
Posts: 3323
Joined: Fri Sep 07, 2007 1:21 am

Post » Tue Jun 19, 2012 6:36 pm

If your script is attached directly to the letter I believe it should be 'Scriptname DefaultOnReadSetQuestStage extends ObjectReference'. It also should maybe be myQuest.Start() instead of setstage if you just want to start the quest
User avatar
Katie Louise Ingram
 
Posts: 3437
Joined: Sat Nov 18, 2006 2:10 am

Post » Tue Jun 19, 2012 10:22 am

I seemed to have fixed it. After I removed the alias for the letter it was working, but when I give it an alias it stops working. The same thing is happening with my NPC, when he has an alias he just sits there, but when I remove the alias, he uses his scripts and dialogue. So the script wasnt the problem, something is wrong as far as aliases go.
User avatar
Cheryl Rice
 
Posts: 3412
Joined: Sat Aug 11, 2007 7:44 am


Return to V - Skyrim