Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
11
trunk/scripts/xchst_hb.nss
Normal file
11
trunk/scripts/xchst_hb.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "xchst_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
// dismiss chest if player left the game or left chests area
|
||||
object oChest = OBJECT_SELF;
|
||||
if(GetArea(oChest) != GetArea(GetLocalObject(oChest, XCHST_OWN)))
|
||||
{
|
||||
DismissChest(oChest);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user