Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
//IMPORTANT, use the Save As button FIRST, before you Edit This Script!
//Put this script OnClick or OnFailToOpen
void main()
{
object oPC = GetClickingObject();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "keytag")!= OBJECT_INVALID)
{
SetLocked(OBJECT_SELF, FALSE);
ActionOpenDoor(OBJECT_SELF);
DelayCommand(5.0, ActionCloseDoor(OBJECT_SELF));
DelayCommand(5.0, SetLocked(OBJECT_SELF, TRUE));
}
else
{
FloatingTextStringOnCreature("A specific key is needed to open this door.", oPC, TRUE);
}
}