HoS_PRC8/_mod/_module/nss/rts_gs_flags.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

21 lines
517 B
Plaintext

void main()
{
object oMod=GetModule();
int nParm=GetLocalInt(GetPCSpeaker(),"nParm");
if (nParm==0)
{ // default
DeleteLocalInt(oMod,"bEasy");
DeleteLocalInt(oMod,"bChallenging");
} // default
else if (nParm==1)
{ // easy
SetLocalInt(oMod,"bEasy",TRUE);
DeleteLocalInt(oMod,"bChallenging");
} // easy
else if (nParm==2)
{ // challenging
SetLocalInt(oMod,"bChallenging",TRUE);
DeleteLocalInt(oMod,"bEasy");
} // challenging
}