24 lines
735 B
Plaintext
24 lines
735 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName feyland
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 11/5/2002 2:10:58 PM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
//get the target waypoint destination
|
|
object oDrop = GetWaypointByTag("feyentrance");
|
|
|
|
//jump the PC to the destination
|
|
AssignCommand (oPC,JumpToObject(oDrop));
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "FertileFaeryseeds");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
}
|