Files
Anphillia_PRC8/_module/nss/anph_lever_door.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

10 lines
210 B
Plaintext

void main()
{
object oDoor = GetNearestObjectByTag("door_" + GetTag(OBJECT_SELF));
if (GetIsOpen(oDoor))
return;
SetLocked(oDoor, FALSE);
AssignCommand(oDoor, ActionOpenDoor(oDoor));
}