#include "nw_i0_2q4luskan"
/*   Script generated by
Lilac Soul's NWN Script Generator, v. 2.0

For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625    */

//Put this on action taken in the conversation editor
void main()
{

object oPC = GetPCSpeaker();

object oTarget;
location lTarget;
oTarget = GetWaypointByTag("ledelys2");

lTarget = GetLocation(oTarget);

DelayCommand(5.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight2", lTarget));

oTarget = GetWaypointByTag("ledelys3");

lTarget = GetLocation(oTarget);

DelayCommand(15.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight3", lTarget));

oTarget = GetWaypointByTag("ledelys4");

lTarget = GetLocation(oTarget);

DelayCommand(25.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight4", lTarget));

oTarget = GetWaypointByTag("ledelys5");

lTarget = GetLocation(oTarget);

DelayCommand(35.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight5", lTarget));

oTarget = GetWaypointByTag("ledelys6");

lTarget = GetLocation(oTarget);

DelayCommand(45.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight6", lTarget));

oTarget = GetWaypointByTag("ledelys6");

lTarget = GetLocation(oTarget);

DelayCommand(47.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "lostsoul1", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(47.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "lostsoul1", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(47.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "lostsoul1", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(47.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "lostsoul1", lTarget));

oTarget = GetWaypointByTag("ledelys7");

lTarget = GetLocation(oTarget);

DelayCommand(90.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight7", lTarget));

oTarget = GetWaypointByTag("ledelys7");

lTarget = GetLocation(oTarget);

DelayCommand(95.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(95.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(95.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(95.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight", lTarget));

oTarget = GetWaypointByTag("ledelys8");

lTarget = GetLocation(oTarget);

DelayCommand(140.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight8", lTarget));

oTarget = GetWaypointByTag("ledelys8");

lTarget = GetLocation(oTarget);

DelayCommand(145.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight2", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(145.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight2", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(145.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight2", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(145.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight2", lTarget));

oTarget = GetWaypointByTag("ledelys9");

lTarget = GetLocation(oTarget);

DelayCommand(210.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight9", lTarget));

oTarget = GetWaypointByTag("ledelys10");

lTarget = GetLocation(oTarget);

DelayCommand(220.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight10", lTarget));

oTarget = GetWaypointByTag("ledelys11");

lTarget = GetLocation(oTarget);

DelayCommand(230.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "questlight11", lTarget));

oTarget = GetWaypointByTag("ledelys10");

lTarget = GetLocation(oTarget);

DelayCommand(240.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight3", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(240.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight3", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(240.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight3", lTarget));

lTarget = GetLocation(oTarget);

DelayCommand(240.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "ghostfight3", lTarget));

oTarget = GetObjectByTag("questlight11");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight10");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight9");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight8");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight7");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight6");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight5");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight4");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight3");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

oTarget = GetObjectByTag("questlight2");

DelayCommand(300.0, DestroyObject(oTarget, 0.0));

}