Jump to content

How to make NPC cast scripted spell after dialogue is finished


Recommended Posts

So I released a mod quite a while back and I am currently working on an update with some new features however I lost my .psc files so I can't open the source code and see what I did all those years back. Anyway I am working on a spell that a NPC should cast onto the player after some dialogue. I finished scripting the spell but I want the npc to cast the spell after the dialogue, I know you do this in the end fragment section but I can't remember how to call that script via the end fragment section. Any help will be appreciated.

Link to comment
Share on other sites

Champollion can be used to decompile your PEX into readable and re-usable PSC. However, there will be some differences. Any commented code or information will be lost. And all events will be labeled as functions. There is a GUI addon if that is preferred over using the command line, I haven't used it though.

 

As to your question, I am pretty sure you just have the NPC Cast the spell.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...