Vampire werewolf - how to detect if a player is

Post » Wed Jun 20, 2012 9:23 am

How does one detect if the player is either a vampire or werewolf?
Oblivion's old GetPCVampire no longer exists.
User avatar
Jacob Phillips
 
Posts: 3430
Joined: Tue Aug 14, 2007 9:46 am

Post » Wed Jun 20, 2012 11:08 am

As far as I'm aware when you become a werewolf/vampire your race is changed. So I guess it would be getRace() if that exists.
User avatar
Gisela Amaya
 
Posts: 3424
Joined: Tue Oct 23, 2007 4:29 pm

Post » Wed Jun 20, 2012 4:26 am

A werewolf's race only changes when they are in beast form. To detect whether the player is a werewolf regardless of form, use the global variable PlayerIsWerewolf (and there is also PlayerIsVampire).
User avatar
Eire Charlotta
 
Posts: 3394
Joined: Thu Nov 09, 2006 6:00 pm


Return to V - Skyrim