Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

How do I force a NPC to summon a companion/summons

DJ_WoWDJ_WoW Member Posts: 34
Gooay all,

I would like one of my guards to summon a companion/summons to walk with him on his waypoints walk. I am currently spawning the desired creature and the running a heartbeat script that forces him to follow the guard. This seems like a bad work around. Any help would be appreciated.

Thanks for your time,

DJ-WoW

Comments

  • AncarionAncarion Member Posts: 155
    The simplest way I can think of is to just use the AddHenchman() function. Just make sure the companion creature has all the henchman event scripts, and it should follow the guard. If you want to actually show the creature being summoned, have the guard cast a fake spell and then create the creature at the desired location, with a short delay on the AddHenchman() call. If the companion exists already, you can put the function in the guard's OnSpawn script (with a delay), or pretty much anywhere else (Area OnEnter, trigger OnEnter, etc.).

  • DJ_WoWDJ_WoW Member Posts: 34
    Gooday,

    Wanted to thank you for your insightful answer to my inquiry. It worked. I don't know why I had it in my head that only PCs could have henchmen.

    Thank you once again,

    DJ-WoW

Sign In or Register to comment.