EN6_PRC8/_module/nss/qdb_listquests.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

28 lines
460 B
Plaintext

#include "qdb_include"
void main()
{
string sDB;
int iIndex;
int iFlag;
string sQuest;
sDB=GetDBName();
iIndex=1;
iFlag=TRUE;
while (iFlag && iIndex<5000)
{
SetLocalInt(GetModule(),"QDB_Quest",iIndex);
sQuest=GetQuestString("Name");
if (sQuest=="")
iFlag=FALSE;
else
{
SendMessageToPC(GetPCSpeaker(),IntToString(iIndex) + "=" + sQuest);
iIndex++;
}
}
SetLocalInt(GetModule(),"QDB_Quest",0);
}