#include "nw_i0_plot"
void main()
{

object oPC = GetEnteringObject();

if (!GetIsPC(oPC)) return;

int nInt;
nInt=GetPLocalInt(oPC, "intWispTwoCreated");

if (!(nInt == 1))
    {
    object oTarget;
    object oSpawn;
    location lTarget;
    oTarget = GetWaypointByTag("Loc23A");

    lTarget = GetLocation(oTarget);

    oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "willowisp002", lTarget);

    oTarget = GetObjectByTag("NW_WILLOWISP");

    AssignCommand(oTarget, ClearAllActions());

    AssignCommand(oTarget, ActionMoveAwayFromObject(oPC));

    oTarget = GetObjectByTag("NW_WILLOWISP");

    DelayCommand(5.0, DestroyObject(oTarget, 0.0));
    }
}
