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

11 lines
282 B
Plaintext

void main()
{
object oPC=GetPCSpeaker();
int nParm=GetLocalInt(oPC,"nParm");
string sVar=GetLocalString(oPC,"sNonPCRaider");
DeleteLocalInt(oPC,"nParm");
DeleteLocalString(oPC,"sNonPCRaider");
nParm=nParm-2;
SetLocalInt(GetModule(),"n"+sVar+"Raiders",nParm);
}