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

24 lines
342 B
Plaintext

#include "qdb_include"
void main()
{
string sQuest;
int iType;
int iStep;
iStep=GetStepNumber()-1;
SetStepNumber(iStep);
iType=GetStepInt("Type");
if (iType==0)
{
iStep++;
SetStepNumber(iStep);
DelayCommand(0.1,SendMessageToPC(GetFirstPC(),"No Previous Step."));
}
sQuest=GetStepInfo();
SetCustomToken(100,sQuest);
}