Initial commit
Initial commit [v9.7]
This commit is contained in:
23
_module/nss/ent_ul_merctorug.nss
Normal file
23
_module/nss/ent_ul_merctorug.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("merctorug");
|
||||
|
||||
SetLocked(oTarget, FALSE);
|
||||
|
||||
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user