Difference between revisions of "GetDisease"
Jump to navigation
Jump to search
m
no edit summary
imported>Quetzilla |
imported>Qazaaq m |
||
Line 1: | Line 1: | ||
{{Deprecated Functions|CS1.0}} | |||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]GetDisease | [''ActorID''.]GetDisease | ||
Line 9: | Line 10: | ||
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. | 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. | ||