mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-18 02:27:14 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
18
trunk/smp/0_test3.nss
Normal file
18
trunk/smp/0_test3.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
void main()
|
||||
{
|
||||
if(GetListenPatternNumber() == -1)
|
||||
{
|
||||
BeginConversation();
|
||||
}
|
||||
|
||||
if(GetListenPatternNumber() == 0 && GetIsPC(GetLastSpeaker()))
|
||||
{
|
||||
string sSpeak = GetMatchedSubstring(0);
|
||||
|
||||
SendMessageToPC(GetLastSpeaker(), "Said: " + sSpeak);
|
||||
|
||||
int iSpeak = StringToInt(sSpeak);
|
||||
|
||||
SetLocalInt(OBJECT_SELF, "VFX", iSpeak);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user