19 lines
438 B
Plaintext
19 lines
438 B
Plaintext
//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);
|
|
|
|
}
|