Initial commit
Initial commit. Updated release archive.
This commit is contained in:
36
_module/nss/qdb_setup_resp.nss
Normal file
36
_module/nss/qdb_setup_resp.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
#include "qdb_include"
|
||||
|
||||
void main()
|
||||
{
|
||||
string sLine;
|
||||
string sResponse;
|
||||
string sToken;
|
||||
int iDone;
|
||||
int iNPC;
|
||||
int iIndex;
|
||||
int iStep;
|
||||
int iLine;
|
||||
|
||||
SetLineNumber(1);
|
||||
sLine=GetLine();
|
||||
iStep=GetStepNumber();
|
||||
iLine=GetLineNumber();
|
||||
iDone=GetLineInt("Done");
|
||||
iNPC=GetLineInt("NPC");
|
||||
|
||||
sToken=sLine + "\n\n";
|
||||
sToken=sToken + "Step=" + IntToString(iStep) + " | Line=" + IntToString(iLine) + "\n";
|
||||
sToken=sToken + "Done=" + IntToString(iDone) + " | NPC=" + IntToString(iNPC);
|
||||
|
||||
SetCustomToken(100,sToken);
|
||||
|
||||
iIndex=1;
|
||||
while (iIndex<=5)
|
||||
{
|
||||
SetResponseNumber(iIndex);
|
||||
sResponse=GetResponse();
|
||||
if (sResponse=="")
|
||||
sResponse="(No Response)";
|
||||
SetCustomToken(100+iIndex,sResponse);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user