UW2_PRC8/_module/nss/herodoorlocks2.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

17 lines
276 B
Plaintext

//Put this script OnOpen
void main()
{
object oPC = GetLastOpenedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("herodoor24");
DelayCommand(2.0, AssignCommand(oTarget, ActionCloseDoor(oTarget)));
DelayCommand(2.0, SetLocked(oTarget, TRUE));
}