12 lines
278 B
Plaintext
12 lines
278 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oExiting = GetExitingObject();
|
||
|
if(GetIsObjectValid(oExiting)){
|
||
|
if(GetIsPC(oExiting)){
|
||
|
int nNumEntered = GetLocalInt(OBJECT_SELF,"nNumEntered");
|
||
|
SetLocalInt(OBJECT_SELF,"nNumEntered",nNumEntered-1);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|