Changed folder name.
Changed folder name.
This commit is contained in:
18
_module/nss/invroom_onexit.nss
Normal file
18
_module/nss/invroom_onexit.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//This script MUST Be in the OnExit event of the Inventory Room!
|
||||
//Whenever anyone leaves it allows the room to be used.
|
||||
//(Even if they logg out!)
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetExitingObject();
|
||||
|
||||
//object oBox = GetObjectByTag("ihold4u");
|
||||
//SetPlotFlag(oBox, FALSE);
|
||||
//DestroyObject(oBox, 0.0f);
|
||||
|
||||
SetLocalInt(oPC, "INVROOMUSER", 0);
|
||||
|
||||
//Note this variable is removed when the PC leaves the area!
|
||||
SetLocalInt(GetModule(), "INVUSE", 0);
|
||||
|
||||
}
|
Reference in New Issue
Block a user