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

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

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

object oPC = GetPCSpeaker();

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

DestroyObject(oTarget, 0.0);

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

lTarget = GetLocation(oTarget);

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

oTarget = oSpawn;





oTarget = GetWaypointByTag("LOC_c52");

lTarget = GetLocation(oTarget);

DelayCommand(1.0, CreateObjectVoid(OBJECT_TYPE_CREATURE, "nahual", lTarget));
oTarget = oPC;

effect eEffect;
eEffect = EffectPetrify();

ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
}
