Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Getting an NPC to attack Creature with a Staff


AndalayBay
 Share

Recommended Posts

I suspect I know the answer to this already, but just to confirm: is there any way to get an NPC to attack a creature with a staff? Basically we have an NPC that's supposed to zap his pet cat wtih his staff (he's crazy and it's just a little zap :D). I think the only option is to fake it, but I can't think of a way to fake it when it comes to using a staff.

Thanks in advance.

Link to comment
Share on other sites

I'd probably remove all weapons from the NPC and force-equip a staff on him. After that, use the StartCombat ActorID function to make him start fighting the cat. Note that he may dodge around for a bit instead of firing straight away.

Instead of shooting real fireballs and whatnot, the staff should have a scripted effect that stops combat as soon as the cat has been hit. And as a failsafe, I'd script the stopcombat to occur automatically 10 seconds after the fight starts, just in case the NPC does something stupid like picking up and equipping a sword or fleeing from the cat .

That's one way I can think of, there may be others. :)

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...