I use a persistent journal system and I like it a lot, though there's one annoying feature. Upon login, all quests are "unread", which means that you have this annoying pulsating journal icon in the upper right-hand screen until you open your journal and view each assigned quest again.
Is there a setting, through scripting or NWNx that would allow me to set these quests as "read"?
Thanks.
...But I've read my journal already!
Débuté par
BelowTheBelt
, janv. 20 2012 08:18
#1
Posté 20 janvier 2012 - 08:18
#2
Posté 20 janvier 2012 - 08:28
I hope someone can correct me and say I am wrong, But I do believe that entire function is solely in the domain of the client. So not even nwnx can do much about it.
#3
Posté 20 janvier 2012 - 08:39
The trick there would be to add a command to your module's ON_ENTER script -
AddJournalQuestEntry();
The entry in the toolkit explains all, you'd make it TRUE for bAllPlayers to have them show up for all, and of course, set the nState appropriately.
Be well. Game on.
GM_ODA
AddJournalQuestEntry();
The entry in the toolkit explains all, you'd make it TRUE for bAllPlayers to have them show up for all, and of course, set the nState appropriately.
Be well. Game on.
GM_ODA
#4
Posté 20 janvier 2012 - 09:12
I do not think that is his complaint, ehye.
I think it is more of when he logs out of the server with some quests in his journal that are persistant. The server then get reset, on loging back in he has to reopen his journal to get it to stop flashing after the journal entrys have been added back in.
You can try,
// Make the corresponding panel button on the player's client start or stop
// flashing.
// - oPlayer
// - nButton: PANEL_BUTTON_*
// - nEnableFlash: if this is TRUE nButton will start flashing. It if is FALSE,
// nButton will stop flashing.
void SetPanelButtonFlash(object oPlayer, int nButton, int nEnableFlash)
I think it is more of when he logs out of the server with some quests in his journal that are persistant. The server then get reset, on loging back in he has to reopen his journal to get it to stop flashing after the journal entrys have been added back in.
You can try,
// Make the corresponding panel button on the player's client start or stop
// flashing.
// - oPlayer
// - nButton: PANEL_BUTTON_*
// - nEnableFlash: if this is TRUE nButton will start flashing. It if is FALSE,
// nButton will stop flashing.
void SetPanelButtonFlash(object oPlayer, int nButton, int nEnableFlash)
#5
Posté 21 janvier 2012 - 04:53
Thanks for the help, guys.
Lightfoot8 - That looks like it'll do the trick. In all my time working with the Lexicon, I never realized that function or the constants existed.
I'll give it a go and see if it works. Gotta love this community.
Thanks!
Lightfoot8 - That looks like it'll do the trick. In all my time working with the Lexicon, I never realized that function or the constants existed.
I'll give it a go and see if it works. Gotta love this community.
Thanks!
#6
Posté 23 janvier 2012 - 03:53
Thought I'd update quickly. The recommended function worked exactly as expected. Upon login, when quests are rebuilt, the panel button does not begin to flash any longer. However, if you open the journal, the individual quests are still outlined in gold (denoting that they are new), but that's much less of an issue.
Thanks for the help.
Thanks for the help.





Retour en haut







