Jump to content

Quest Starts with Note Pickup


RedBeakRaven

Recommended Posts

I don't believe you can attach scripts to notes. Not entirely sure. The way I did it in one of my quests:

 

Begin ontrigger player

if player.getHasNote (whatever the note is called)

setstage (quest name) (stage number)

endif

end

 

I just created a big enough trigger to make sure the player will be somewhere in it when he picks up the note.

Edited by TheSHO1BANG
Link to comment
Share on other sites

I don't believe you can attach scripts to notes. Not entirely sure. The way I did it in one of my quests:

What about a proxy item that looks like, say, a holotape. Make that a Misc item, attach a script to it to add the note, start the quest, and then remove itself from player inventory.

 

For example:

begin OnAdd player
    StartQuest Quest
    player.RemoveItem ProxyItem
    AddNote Note
end
Edited by kingharvest
Link to comment
Share on other sites

Ok great thanks, I've gone with what you said SHO1, but no luck I can't get the script to save. I know theres been problems with this over years etc. But maybe you can shed some light on it:

 

scn MHomeScript

 

Begin OnTrigger Player

 

IfPlayer.GetHasNote NVDLC02MobileHomeNote

 

StartQuest MobileHomeQuestDLC

 

Endif

 

End

 

Any idea whats wrong?

Link to comment
Share on other sites

I can't see anything wrong with the script, I mean the one I showed you I copied straight from the GECK and I know it's working for me. You might want to check for some typos, I've gone crazy over scripts not saving when all I did was forget a letter or something.

You might want to try using the 'setstage' command instead of startquest, and simply input the very first stage of your quest. For example, if your quest's first stage is 10: setstage MobileHomeQuestDLC 10

Other than that I really don't know what could be wrong. Also, I neglected to say this, this script should be attached to the right trigger, but that wouldn't affect it not saving.

Sorry I couldn't be of more help.

Link to comment
Share on other sites

Ok great thanks, I've gone with what you said SHO1, but no luck I can't get the script to save. I know theres been problems with this over years etc. But maybe you can shed some light on it:

 

scn MHomeScript

 

Begin OnTrigger Player

 

IfPlayer.GetHasNote NVDLC02MobileHomeNote

 

StartQuest MobileHomeQuestDLC

 

Endif

 

End

 

Any idea whats wrong?

 

The construction "IfPlayer.GetHasNote" won't compile since you are missing whitespace between 'if' and 'Player'. According to http://geck.bethsoft.com/index.php?title=GetHasNote GetHasNote is not called on a reference so you probably just want "GetHasNote" instead of "player.GetHasNote".

Link to comment
Share on other sites

Thanks a lot for the help guys, got this working finally! :D

I used what you have said and managed to use the note script that is explained the Bethesda first vault tutorial.

 

Used Begin OnTriggerEnter seemed to work and set stage rather than start quest.

 

So anyways thanks again!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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