PoA_PRC8/_module/nss/shutguilddoor.nss

14 lines
203 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
//Put this script OnOpen
void main()
{
object oPC = GetLastOpenedBy();
if (!GetIsPC(oPC)) return;
DelayCommand(4.0, ActionCloseDoor(OBJECT_SELF));
DelayCommand(5.0, SetLocked(OBJECT_SELF, TRUE));
}