GetVampire
Jump to navigation
Jump to search
Returns 1 if the calling NPC has a Vampirism attribute level higher than 0.
Note[edit | edit source]
- Many mods that change how Vampirism work do not actually set the player to have the Vampirism effect played on them, because it causes an aging effect that is considered ugly (and is often bug-ridden in any case). Because the player does not have the Vampirism effect on them, GetVampire will return False (0). Instead, use the PCVampire global variable, like this:
if (PCVampire > 0)
rather than
if (player.GetVampire)
GetVampire should therefore be reserved for NPCs, since they usually have a fixed vampirism attribute (and there is no corresponding variable for NPCs).
See Also[edit | edit source]