PoA_PRC8/_module/nss/feyland.nss

24 lines
735 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
//::///////////////////////////////////////////////
//:: 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);
}