generated from Jaysyn/ModuleTemplate
Merged redundant hak files
Merged redundant hak files. Moved hak scripts into module. Updated gitignore. Full Compile. Added release folder & archive.
This commit is contained in:
12
_mod/_module/nss/ai_cnv_setai4.nss
Normal file
12
_mod/_module/nss/ai_cnv_setai4.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
// Custom AI
|
||||
void main()
|
||||
{
|
||||
int nNum=4;
|
||||
object oMod=GetModule();
|
||||
string sID=GetLocalString(GetPCSpeaker(),"sCustParm");
|
||||
string sS;
|
||||
DeleteLocalString(GetPCSpeaker(),"sCustParm");
|
||||
SetLocalInt(oMod,"nAISetting",2);
|
||||
sS=GetLocalString(oMod,"sCustomAI"+sID+IntToString(nNum));
|
||||
SetLocalString(oMod,"sAICode"+sID,sS);
|
||||
}
|
||||
Reference in New Issue
Block a user