Changed folder name.
Changed folder name.
This commit is contained in:
13
_module/nss/kill_npcs.nss
Normal file
13
_module/nss/kill_npcs.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
//This script goes in an OnEnter event to kill
|
||||
//ALL non-PCs or DMs
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
int nType = GetObjectType(oPC);
|
||||
if (nType ==OBJECT_TYPE_CREATURE && !GetIsPC(oPC) && !GetIsDM(oPC))
|
||||
{
|
||||
DestroyObject(oPC, 0.0f);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user