Difference between revisions of "GetDisease"
Jump to navigation
Jump to search
no edit summary
imported>Scruggs (Clarify) |
imported>Quetzilla |
||
Line 7: | Line 7: | ||
To determine if an actor is diseased, it is necessary to check for each individual disease using [[IsSpellTarget]] as described [[Disease How to check in Object script|here]] | To determine if an actor is diseased, it is necessary to check for each individual disease using [[IsSpellTarget]] as described [[Disease How to check in Object script|here]] | ||
An alternate way using [[OBSE]] is to loop through the 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. | |||
[[Category:Deprecated_Functions]] | [[Category:Deprecated_Functions]] |