Jump to content

How to attach a script to a Note


BluePanda23055

Recommended Posts

(I meant to add a question mark to the end of the thread title - sorry about that)

I'd like to create a note page which, upon obtaining, reveals a location on the Pipboy map, identical to how the Sniper Nest Location note works. I have a script which would reveal the location, but can't attach it to my custom note.

As an alternative, how do I copy the Sniper Nest note and change which Map ID it reveals?

Edited by BluePanda23055
Link to comment
Share on other sites

Are you sure that note actually reveals the location? I don't see anything that would indicate this.

 

You can't attach scripts to notes. You can create an activator instead, with an OnActivate block to give you the location and the note:

begin onActivate
    player.addNote LocationNote
    showMap LocationID
end

The ShowMap function has an additional optional parameter which opens the marker for fast travel immediately if set to 1.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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