Jump to content

Using a Note as a Quest Item


paulski

Recommended Posts

Hey all,

 

Sorry to post another quickie, but I've been racking my brain on this for ages!

 

I want to have the player find a note, and then upon picking it up have the quest move to the next objective.

 

I've been looking at the MQ03 and the script for how it acknoledges finding a holotape, but I can't seem to find the holotape in question.

 

ScriptName MQ03Script

 

Short HoloRead

 

;Since dialogue results don't run on notes right now, we'll fudge the concept of the player actually listening to the note

 

if ( GetStage MQ03 == 50 )

if ( HoloRead == 1)

SetStage MQ03 60

endif

endif

 

 

Any assistance or links that would be useful would be really appreciated! Thank you in advance.

Link to comment
Share on other sites

When posting code, please use "code" tags, as this will apply a fixed-width font and retain whitespace formatting to make it easier to read.

 

One of the most useful tools in the GECK is the "Find Text" tool, which can be found under the "Edit" menu. When you search for "HoloRead" in infos with this tool, a topic in the "AudioHolotapes" quest is given as a result. It is in the result script of this topic that the "HoloRead" variable declared in the script attached to "MQ03" is set to 1.

 

If you look at the holotape used in that quest, "MQ03Holo21", you'll see that it is a "voice" type note with that dialogue topic selected. This means that when the player finishes listening to the tape, the dialogue result script will run, setting the quest variable to 1 which results in the stage of the quest being advanced.

 

Cipscis

Link to comment
Share on other sites

Heya mate,

 

Sorry about not using the tags.

 

I'll research into using that right now. I'm using a text note so hopefully that wont matter too much :S

 

Really appreciate the help. Thanks again.

Link to comment
Share on other sites

...Sorted.

 

I created a script for the quest, and then created a statement using "GetHasNote", which checked to see if the player had the note.

 

Really appreciate both you guys' help.

 

 

Thread Can be closed...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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