/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this OnEnter
void main()
{

object oPC = GetLastDisarmed();

if (!GetIsPC(oPC)) return;

int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));

if (DoOnce==TRUE) return;

SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);

object oTarget;
oTarget = GetObjectByTag("SatuteJagWarriorA");

DestroyObject(oTarget, 0.0);

oTarget = GetObjectByTag("SatuteJagWarriorB");

DestroyObject(oTarget, 0.0);

object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("c34PlaceJagC");

lTarget = GetLocation(oTarget);

oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "zep_statues039", lTarget);

oTarget = GetWaypointByTag("c34PlaceJagD");

lTarget = GetLocation(oTarget);

oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "zep_statues039", lTarget);

FloatingTextStringOnCreature("You use water to short out an electrical current running between the polearms, then push the statues back toward the walls.", oPC, FALSE);


}
