generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
10
_module/nss/vg_quest_advance.nss
Normal file
10
_module/nss/vg_quest_advance.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
object oMod = GetModule();
|
||||
object oPC = GetPCSpeaker();
|
||||
string szPlotID = GetLocalString(OBJECT_SELF,"Quest");
|
||||
int nQuestStatus = GetLocalInt(oPC,"NW_JOURNAL_ENTRY"+szPlotID);
|
||||
|
||||
AddJournalQuestEntry(szPlotID,nQuestStatus+1,oPC,TRUE,FALSE,FALSE);
|
||||
SetLocalInt(oMod,"NW_JOURNAL_ENTRY"+szPlotID,nQuestStatus+1);
|
||||
}
|
||||
Reference in New Issue
Block a user