Changed folder name.
Changed folder name.
This commit is contained in:
26
_module/nss/headstone2_use.nss
Normal file
26
_module/nss/headstone2_use.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//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 = GetLastUsedBy();
|
||||
|
||||
//Get Trapdoor
|
||||
object oDoor = GetObjectByTag("Gravestone3");
|
||||
|
||||
//open trapdoor commands
|
||||
|
||||
//have the PC kneel down and act as if opening the trapdoor
|
||||
|
||||
//swing the door to open after a slight delay to allow for the PC's animation
|
||||
|
||||
|
||||
//OPTIONAL- have the using PC call the state
|
||||
//AssignCommand (oPC,SpeakString("Trapdoor Open"));
|
||||
|
||||
//start trapdoor conversation
|
||||
AssignCommand (oPC,ActionStartConversation(oDoor));
|
||||
|
||||
}
|
Reference in New Issue
Block a user