GetDisease
Deprecated Function
This script function is documented but either not implemented or else superceded by another function. Please do not use this function in your mod; alternatives are offered in the article.
Syntax:
[ActorID.]GetDisease
Returns 1 if the actor is currently diseased.
This function is not implemented and does not work.
To determine if an actor is diseased, it is necessary to check for each individual disease using IsSpellTarget as described here
An alternate way using OBSE is to loop through the actor's spells and do GetSpellType. If the spell type == 1 (disease), then the actor has a disease. This method will take into account ALL diseases, including those added by other mods.