GetDisease

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search



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.