10 lines
260 B
Plaintext
10 lines
260 B
Plaintext
void main()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
object oDoor=GetLocalObject(oPC,"oTarget");
|
|
int nStyle=GetLocalInt(oPC,"nParm");
|
|
SetLocalInt(oDoor,"nStyle",nStyle);
|
|
SetLocked(oDoor,FALSE);
|
|
AssignCommand(oDoor,SpeakString("** unlocked **"));
|
|
}
|