Rune_PRC8/_module/nss/transloctrigexit.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

23 lines
471 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
//Put this script OnExit
void main()
{
object oPC = GetExitingObject();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetNearestObjectByTag("ManarinaTranslocDoor");
AssignCommand(oTarget, ClearAllActions());
AssignCommand(oTarget, ActionCloseDoor(oTarget));
SetLocked(oTarget, TRUE);
}