Jump to content

[LE] GetDisease


Elias555

Recommended Posts

How does this work? https://www.creationkit.com/index.php?title=GetDisease

What's the script equivalent? I need to check whether the player is diseased or not. I have tried:

If PlayerRef.HasMagicEffectWithKeyword(Disease) ;Which is straight from the wiki but I can't find the keyword

If PlayerRef.GetDisease() == 1  

If PlayerRef.GetDisease(1)  

If PlayerRef.GetDisease(True)

Link to comment
Share on other sites

There is no script equivalent to GetDisease. You either check for specific magic effects or see if you can pass the data to papyrus with something like: https://www.creationkit.com/index.php?title=Passing_Conditions_to_Papyrus

 

But there is limited info on the wiki and I'm unsure of the return of GetDisease. If it returns a specific disease, then the linked idea may not work. If it merely returns that the player is diseased or not, then it should.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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