RedBeakRaven Posted March 7, 2015 Share Posted March 7, 2015 Anybody help me by posting a script I can use for getting a quest to appear upon picking up a note? Help appreciated, as this has bugged me all day. :) Link to comment Share on other sites More sharing options...
kingharvest Posted March 7, 2015 Share Posted March 7, 2015 Can't you just begin OnAdd player StartQuest Foo end in the note object's script? Link to comment Share on other sites More sharing options...
TheSHO1BANG Posted March 7, 2015 Share Posted March 7, 2015 (edited) 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 playerif player.getHasNote (whatever the note is called)setstage (quest name) (stage number)endifend I just created a big enough trigger to make sure the player will be somewhere in it when he picks up the note. Edited March 7, 2015 by TheSHO1BANG Link to comment Share on other sites More sharing options...
kingharvest Posted March 7, 2015 Share Posted March 7, 2015 (edited) 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 March 7, 2015 by kingharvest Link to comment Share on other sites More sharing options...
TheSHO1BANG Posted March 7, 2015 Share Posted March 7, 2015 True, that can be done. Really depends on which way you prefer. Link to comment Share on other sites More sharing options...
RedBeakRaven Posted March 7, 2015 Author Share Posted March 7, 2015 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 More sharing options...
TheSHO1BANG Posted March 8, 2015 Share Posted March 8, 2015 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 10Other 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 More sharing options...
kingharvest Posted March 8, 2015 Share Posted March 8, 2015 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 More sharing options...
RedBeakRaven Posted March 10, 2015 Author Share Posted March 10, 2015 Thanks a lot for the help guys, got this working finally! :DI 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 More sharing options...
Recommended Posts