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

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