Elias555 Posted January 25, 2018 Share Posted January 25, 2018 How does this work? https://www.creationkit.com/index.php?title=GetDiseaseWhat'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 More sharing options...
IsharaMeradin Posted January 25, 2018 Share Posted January 25, 2018 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 More sharing options...
Recommended Posts