I'm building my first quest...

Post » Mon Feb 17, 2014 3:38 pm

... And, as customary, nothing works.

The idea is very simple: the player finds a corpse, activates it, and a quest begins to inform some other guy about the death. I followed the tutorials in the CK wiki, created three stages: 0 (pre-quest), 10 (corpse activated/report death) and 20 (death reported/end), and attached a script to the corpse actor to start everything. The problem is, when I activate the corpse, nothing happens. I can start the quest with setstage, and the objetives are correctly displayed, so I assume there's some problem with the script, but I can't find it. Here it is:

Scriptname MCR_NullasTest extends ObjectReference  Actor Property PlayerRef AutoQuest Property NullasQuestTest  Auto  Event OnActivate(ObjectReference akActionRef)	If akActionRef == PlayerRef		NullasQuestTest.SetObjectivedisplayed(10)		NullasQuestTest.SetStage(10)	endifEndEvent

As far as I know, this script looks correct. What do you say?

User avatar
Gemma Woods Illustration
 
Posts: 3356
Joined: Sun Jun 18, 2006 8:48 pm

Return to V - Skyrim