UW2_PRC8/_module/nss/wardenwalks.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

34 lines
830 B
Plaintext

//::///////////////////////////////////////////////
//:: 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);
}