Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

15
trunk/smp/0_ondisturb.nss Normal file
View File

@@ -0,0 +1,15 @@
// 0_ondisturb
// On Disturbed report. report feedback information via. Speak String.
void main()
{
object oDisturber = GetLastDisturbed();// returns the object that last disturbed OBJECT_SELF.
int nType = GetInventoryDisturbType();//returns one of the INVENTORY_DISTURB_TYPE_* constants to determine what occured.
object oItem = GetInventoryDisturbItem();// returns the item that was either added or removed to the inventory of OBJECT_SELF.
// Report
SpeakString("[DISTURBED] [" + GetName(OBJECT_SELF) + "] By: " + GetName(oDisturber) + ". Took: " + GetName(oItem) + ". Type: " + IntToString(nType));
}