34 lines
830 B
Plaintext
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);
|
||
|
|
||
|
}
|