29 lines
634 B
Plaintext
29 lines
634 B
Plaintext
|
/*
|
||
|
* Script generated by LS Script Generator, v.TK.0
|
||
|
*
|
||
|
* For download info, please visit:
|
||
|
* http://nwvault.ign.com/View.php?view=Other.Detail&id=1502
|
||
|
*/
|
||
|
// Put this script OnEnter.
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oTarget;
|
||
|
|
||
|
// Get the creature who triggered this event.
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
// Only fire for (real) PCs.
|
||
|
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
|
||
|
return;
|
||
|
|
||
|
// Find the location to which to teleport.
|
||
|
oTarget = GetWaypointByTag("wp_jesandracave");
|
||
|
|
||
|
// Teleport the PC.
|
||
|
AssignCommand(oPC, ClearAllActions());
|
||
|
AssignCommand(oPC, JumpToObject(oTarget));
|
||
|
}
|
||
|
|