Jump to content

[LE] onRead not working


Recommended Posts

Scriptname a027_QSuDBookScript extends ObjectReference  
Quest Property QSuDBookProp  Auto  
Quest Property MyQuest Auto
Int Property readStage Auto


Event OnRead()
MyQuest.SetStage(readStage)
EndEvent

The script is attatched to the item i duplicated a Letter/Note and created an alias within the quest.

 

I also tried attaching it to the alias instead, it didn't start up.

 

Properties set correctly, stages are setup correctly to my knowledge.

 

SEQ is new, and the only other alias within the quest is the satchel its inside of.

 

Thanks in advance, I can't see any reason for this not to work.

 

(also im not interested in an onContainerChanged as a replacement. it has to be read/opened)

Link to comment
Share on other sites

ive tried start game enabled and without

ive tried moving the script to the alias, no help

 

..im wondering if ive missed a step, like a checkbox in the alias tab that needs to be on

i didn't miss a single step from the yt tutorial tho

this is by far one of the more simple things to do,

so i really appreciate any help i get

Edited by javaplaza
Link to comment
Share on other sites

eesh i thought it was the other way around. this makes sense but i switched them and its still not running

 

i should add i had another event directly under it , could they be messing with each other or is it alright they are in the same script?

Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
	if (akNewContainer == Game.GetPlayer())
		MyQuest.setStage(takeStage)
	EndIf
EndEvent

What I am trying to do ::

 

onRead set stage 10 (Start up Stage)

onContainerChanged set stage 20 (Complete Quest)

Link to comment
Share on other sites

i have taken off the OnContainerChanged to see what happened and onRead still doesn't do anything

 

however it seems ^^ this will work once i get onRead to start the quest.

 

still searching for answers in forums/guides

 

thanks

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...