Jump to content

Werewolf Race


Grantiz

Recommended Posts

Ok I'm fed up trying to do this and thought maybe some one could help me

 

During the first transformation into a werewolf I'm trying to switch the race to a custom race I made.

This would make it so after the first re-transformation you would be the new race. For right now

i'm just trying to get it to work with a nord race and then others to follow.

 

So im trying to add This:

 

But when I change back I'm never the New Race. Please someone tell me what I'm doing wrong.

 

Function StartRampage()

; Debug.Trace("C03: Rampage start.")

 

; black you out

FadeToBlack.Apply()

Utility.Wait(FadeSeconds)

FadeToBlack.PopTo(HoldBlack)

 

 

; ADDING THIS TO C03 Rampage Quest---------

if (Game.GetPlayer().GetRace() == NordRace)

Game.GetPlayer().SetRace(NordRaceWerewolf)

elseif (Game.GetPlayer().GetRace() == NordRaceVampire)

Game.GetPlayer().SetRace(NordRaceWerewolf)

endif

; ADDING THIS TO C03 Rampage Quest----------

 

; usually done by the spell effect

Game.ForceThirdPerson()

Game.DisablePlayerControls(abMovement = false, abFighting = false, abCamSwitch = true, abMenu = false, abActivate = false, abJournalTabs = false, aiDisablePOVType = 1)

Game.ShowFirstPersonGeometry(false)

 

; throw you outside

Game.GetPlayer().MoveTo(RampageStartMarker)

Link to comment
Share on other sites

Well I found its a problem with my new race. If I have it switch to a old race (ie NordRace or NordVampireRace) then everything works just fine.

 

So my new question is how do I add a race that scripts likes?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...