Jump to content

[Papyrus] How to figure out vendor-type on entering dialogue


jags78

Recommended Posts

Hi Modders

 

The title of this post could also be 'Need help with GenericDoctorScript'...

 

I'm trying to remove specific effects when to doctor heals me WITHOUT touching the vanilla scripts.

 

My approach is complicated, so maybe someone has a better idea.

 

Here we go:

- Figure out vendor-type whene entering dialogue (by vendor-dialogue or something)

- If Doctor then RegisterForAnimationEvent(Doctor-Guy, NeedlePrep)

- On NeedlePrep by Doctor-Guy, remove disired effects

- Unregister on exiting dialogue and reregister for entering dialogue

 

.... yeah... sound like a stupid approach, but im stuck with my stupidity to find a better way.

 

Thx for any help

 

jags78

Link to comment
Share on other sites

Perhaps you should try to create a new quest and attach a scrip to it that registers for a remote event. Like OnStageSet() or whatever, from that vanilla quest which controls the doctor thing. Just saying, I don't know for sure how this doctor-related healing works.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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