19 lines
421 B
Plaintext
19 lines
421 B
Plaintext
//trapdoor_use script by Kerico 7/5/02 for doorclosed by default
|
|
//place in trapdoor on-use scipt
|
|
//opens the trapdoor and starts convo between using pc and trapdoor
|
|
|
|
void main()
|
|
{
|
|
//Get PC
|
|
object oPC = GetEnteringObject();
|
|
if (GetIsPC(oPC))
|
|
{
|
|
//Get Trapdoor
|
|
object oDoor = GetObjectByTag("pipe");
|
|
|
|
|
|
//start trapdoor conversation
|
|
AssignCommand (oPC,ActionStartConversation(oDoor));
|
|
}
|
|
}
|