Made some boring areas a little more interesting to look at
This commit is contained in:
15
_module/nss/croydecaveyells2.nss
Normal file
15
_module/nss/croydecaveyells2.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
object oTarget;
|
||||
|
||||
// Get the creature who triggered this event.
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
// Only fire for (real) PCs.
|
||||
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
|
||||
return;
|
||||
|
||||
// Make changes to the sound object "croydecaveyells.
|
||||
oTarget = GetObjectByTag("croydecaveyells");
|
||||
SoundObjectStop(oTarget);
|
||||
}
|
Reference in New Issue
Block a user