Difference between revisions of "GetDisease"

Jump to navigation Jump to search
240 bytes added ,  08:58, 27 January 2008
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]]
Anonymous user

Navigation menu