Talk:GetRace - ActorBase

From the CreationKit Wiki
Revision as of 07:00, 14 August 2015 by imported>Terra Nova2 (→‎Current Race vs Original Race)
Jump to navigation Jump to search

Current Race vs Original Race

Trying to determine what an actors race was before they became a vampire - the race it reverts to when you cure yourself. Has anyone done any testing between Actor.GetRace() and ActorBase.GetRace()? Race forms have the Morph Race field which may indicate to the game what to revert to, but there is no method in Vanilla nor SKSE currently for finding what the morph race is set to.

--Darkconsole (talk) 2015-08-10T20:03:32 (EDT)

Use GetActorBase.GetRace(). This is how Beth did it in the script. Alternatively you could store the race before the change to a variable and just check the variable, which was done for Varkas(?) when you see him transform for the first time.--Terra Nova2 (talk) 2015-08-14T08:00:59 (EDT)