Jump to content

Photo

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

papyrus; vendor; genericdoctorscript;

  • Please log in to reply
2 replies to this topic

#1
jags78

jags78

    Regular

  • Members
  • PipPip
  • 84 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



#2
werr92

werr92

    Fan

  • Members
  • PipPipPip
  • 266 posts

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.



#3
jags78

jags78

    Regular

  • Members
  • PipPip
  • 84 posts

While doing research in the CK i found some stuff related to your suggestion... I'll post my finding if somebody cares ;)







Also tagged with one or more of these keywords: papyrus;, vendor;, genericdoctorscript;

Page loaded in: 0.780 seconds