Dark Dreams of Furiae - a new module for NWN:EE! Buy now
I've want to make it so that when you use the figurine the summon will fight for you. As it is now, the script just summons a cockatrice with some fancy effects and that's it. How do I henchmanize my summon?
This is the scipt from OnActivateItem()
object oUsed = GetItemActivated();
// The following section is for the Cracked Amulet
// The amulet heals half the PCs damage when used.
if (GetTag(oUsed) == "COCKATRICE_FIG_01")
// Get the PC, first.
object oPC = GetItemActivator();
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "cockatrice002", lTarget);
effect eEffect = EffectVisualEffect(VFX_IMP_PDK_FINAL_STAND);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC);
Thanks for any help.