Changed folder name.
Changed folder name.
This commit is contained in:
33
_module/nss/wardenwalks.nss
Normal file
33
_module/nss/wardenwalks.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Resume Waypoint Walking
|
||||
//:: NW_WALK_WP.NSS
|
||||
//:: Copyright (c) 2002 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Assigned to the normal and abnormal end
|
||||
conversation events to have the creature
|
||||
resume walking waypoints.
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Neil Flynn
|
||||
//:: Created On: July 19, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
#include "NW_I0_GENERIC"
|
||||
|
||||
void main()
|
||||
{
|
||||
SetLocalInt(GetPCSpeaker(), "jailtime", 0);
|
||||
//get the pc who used the trapdoor
|
||||
object oPC = GetObjectByTag("warden");
|
||||
|
||||
//get the target waypoint destination
|
||||
object oDrop = GetWaypointByTag("warden1");
|
||||
|
||||
//jump the PC to the destination
|
||||
AssignCommand (oPC,JumpToObject(oDrop));
|
||||
|
||||
|
||||
WalkWayPoints(FALSE, 60.0);
|
||||
|
||||
}
|
Reference in New Issue
Block a user