Amon_PRC8/_module/nss/fehnjaildoor.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

18 lines
278 B
Plaintext

//Put this OnUsed
void main()
{
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("fehnjail");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}