Make a note unreaded again?

Post » Thu Sep 10, 2015 9:43 am

Hi there :) how are you?

I have a tiny question. I'm making a little mod which adds more radiant quests.

Quest are given by reading (aliased) notes.

Since I'm using SkyUI, I can see that the note is already set as "readed" when a new quest starts.

Is there a way to make the note unreaded?

Thank you.

User avatar
Shannon Lockwood
 
Posts: 3373
Joined: Wed Aug 08, 2007 12:38 pm

Post » Thu Sep 10, 2015 1:01 am

Are you using a single note reference and sharing it between quests? Or are you creating the note as an alias.

I'd have expected the alias to create a new, unread note, but the isRead method is on the Form (well, the Book script) which suggests is't shared between instances.

I had thought I'd seen multiple instances of quest notes with different has-read statuses, but I may be imagining it now I think some more.
User avatar
Rik Douglas
 
Posts: 3385
Joined: Sat Jul 07, 2007 1:40 pm

Post » Thu Sep 10, 2015 4:42 am

Yes, I'm using a single note created in aliased container. The note contains alias reference texts, including the title. So I'm wondering how to make every reference note as new one.

User avatar
Chris Duncan
 
Posts: 3471
Joined: Sun Jun 24, 2007 2:31 am

Post » Wed Sep 09, 2015 11:15 pm

Pure guesswork here, but I'd expect that a note that contains substitution text would be treated as unique. I.e one that has an content and "Stores text" checked. So set your text variable to blank everytime and it should be a harmless side-effect.

User avatar
Joe Bonney
 
Posts: 3466
Joined: Tue Jul 17, 2007 12:00 pm

Post » Thu Sep 10, 2015 12:56 pm

iirc there's a flag for that. how to read it out or set it though, that's another question...

GetHasNote was a fallout condition function to get it, it still exists, but no idea if it's operable, wiki says it's obsolete.

else, skse seems to have a IsRead function to read it out.

no clue about how to set it though

edit: there's a "known" flag for forms (read out by PlayerKnows (), yet still on clue how to set it), maybe that's the same

(might be worth checking if you can get the info out of skyui WHAT it actually reads out there)

edit2: maybe you can just reset () the book?

User avatar
Claire Lynham
 
Posts: 3432
Joined: Mon Feb 12, 2007 9:42 am

Post » Thu Sep 10, 2015 1:46 pm

as I said, my note contains alias variables but it's flagger as readed in the next radiant quest.

PlayerKnows() seems to be used for Magic Effects, Words of Power, and Enchantments. However it's a read-only function.

I'll try the reset() function.

User avatar
Jynx Anthropic
 
Posts: 3352
Joined: Fri Sep 08, 2006 9:36 pm

Post » Thu Sep 10, 2015 3:52 am

Update: Doesn't works.

User avatar
louise tagg
 
Posts: 3394
Joined: Sun Aug 06, 2006 8:32 am


Return to V - Skyrim