Changed folder name.
Changed folder name.
This commit is contained in:
23
_module/nss/krenshar2.nss
Normal file
23
_module/nss/krenshar2.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//trapdoor_yes script by Kerico 7/7/02
|
||||
//jumps the using PC to target waypoint and closes the trapdoor for next use
|
||||
//place in action taken scipt in trapdoor conversation
|
||||
//in 'yes' end dialog of the trapdoor
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
//get the pc who used the trapdoor
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
//get the target waypoint destination
|
||||
object oDrop = GetWaypointByTag("lunaexit");
|
||||
|
||||
//jump the PC to the destination
|
||||
AssignCommand (oPC,JumpToObject(oDrop));
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "KrensharNobleCatsEye");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user