Battledale_PRC8/_module/nss/jw_dogdoorop_ent.nss

14 lines
352 B
Plaintext
Raw Permalink Normal View History

void main()
{
if (GetIsObjectValid(GetEnteringObject())&&GetIsPC(GetEnteringObject()))
{
object oObject;
oObject=GetObjectByTag("jw_dog_door");
AssignCommand(oObject,SetLocked(oObject,FALSE));
//DelayCommand(20.0,AssignCommand(oObject,ActionCloseDoor(oObject)));
//DelayCommand(20.5,AssignCommand(oObject,SetLocked(oObject,TRUE)));
}
}