Module commit
Module commit.
This commit is contained in:
14
_module/nss/unlock_door01.nss
Normal file
14
_module/nss/unlock_door01.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
//Put this OnEnter
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("first_locked_door");
|
||||
|
||||
SetLocked(oTarget, FALSE);
|
||||
|
||||
}
|
Reference in New Issue
Block a user