Difference between revisions of "Talk:GetRace - ActorBase"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Darkconsole
imported>Terra Nova2
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


--[[User:Darkconsole|Darkconsole]] ([[User talk:Darkconsole|talk]]) 2015-08-10T20:03:32 (EDT)
--[[User:Darkconsole|Darkconsole]] ([[User talk: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 into a werewolf for the first time. The procedure though is the same for the two beast races. --[[User:Terra Nova2|Terra Nova2]] ([[User talk:Terra Nova2|talk]]) 2015-08-14T08:02:21 (EDT)

Latest revision as of 07:02, 14 August 2015

Current Race vs Original Race[edit source]

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 into a werewolf for the first time. The procedure though is the same for the two beast races. --Terra Nova2 (talk) 2015-08-14T08:02:21 (EDT)