Initial upload
Initial upload
This commit is contained in:
8
_module/nss/despawner1.nss
Normal file
8
_module/nss/despawner1.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
void main()
|
||||
{
|
||||
object area_self = GetArea(OBJECT_SELF);
|
||||
object area_pc = GetArea(GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC));
|
||||
if (area_self != area_pc){
|
||||
DestroyObject(OBJECT_SELF);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user