Initial commit
Initial commit. Updated release archive.
This commit is contained in:
29
_module/nss/qdb_set_linenpc.nss
Normal file
29
_module/nss/qdb_set_linenpc.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
#include "qdb_include"
|
||||
|
||||
void main()
|
||||
{
|
||||
string sLine;
|
||||
string sResponse;
|
||||
string sToken;
|
||||
int iDone;
|
||||
int iNPC;
|
||||
int iIndex;
|
||||
int iStep;
|
||||
int iLine;
|
||||
|
||||
sLine=GetLine();
|
||||
iStep=GetStepNumber();
|
||||
iLine=GetLineNumber();
|
||||
iDone=GetLineInt("Done");
|
||||
iNPC=GetLineInt("NPC");
|
||||
|
||||
if (iNPC==0)
|
||||
iNPC=1;
|
||||
else
|
||||
iNPC=0;
|
||||
|
||||
SetLineInt("NPC",iNPC);
|
||||
|
||||
SetCustomToken(100,GetLineInfo());
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user