UW2_PRC8/_module/nss/lockdoorspec1.nss

17 lines
275 B
Plaintext
Raw Permalink Normal View History

2023-09-25 20:24:01 -04:00
//Put this script OnOpen
void main()
{
object oPC = GetLastOpenedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("towerdoo3");
DelayCommand(3.0, AssignCommand(oTarget, ActionCloseDoor(oTarget)));
DelayCommand(3.0, SetLocked(oTarget, TRUE));
}