Skip to content

Summon Henchman Figurine

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();

    object oTarget;
    object oSpawn;
    location lTarget;
    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.


  • BaireswolfBaireswolf Member Posts: 21
    You can try summoning a creature that has a hench dialog and script set
  • QuilistanQuilistan Member Posts: 150
    What AI scripts do you have for your henchman cockatrice?
Sign In or Register to comment.