Jump to content

Script for changing race


SPAWNOFTHEFLAMES

Recommended Posts

I really want to be able make my own quests that allow you to become a werewolf or a vampire or a custom race of my choosing.

 

I've looked on creationkit.com and its quite sparse when it comes to changing races. Basically I want to script something along the lines of:

 

on activation of object

 

if player race = nord

change player race to nordvampire

if player race = redguard

change player race to redguardvampire

if player race = redguardvampire

do nothing.

etc

 

I've not got my trial script on this computer but I will add it later. Could anyone give me any tips or good places to look to find the answers? My problem with creationkit.com is it isn't very good at giving examples.

 

Any help would be hugely appreciated.

Link to comment
Share on other sites

I really want to be able make my own quests that allow you to become a werewolf or a vampire or a custom race of my choosing.

 

I've looked on creationkit.com and its quite sparse when it comes to changing races. Basically I want to script something along the lines of:

 

on activation of object

 

if player race = nord

change player race to nordvampire

if player race = redguard

change player race to redguardvampire

if player race = redguardvampire

do nothing.

etc

 

I've not got my trial script on this computer but I will add it later. Could anyone give me any tips or good places to look to find the answers? My problem with creationkit.com is it isn't very good at giving examples.

 

Any help would be hugely appreciated.

Link to comment
Share on other sites

Event OnActivate(akOpener)
  If akOpener.GetRace() == Frog
     ;frog
     akOpener.SetRace(FrogVampire)
  Else
     ;no frog
  EndIf
EndEvent

 

...doesn't work?

 

Ps Don't forget to check for the global variables PlayerIsVampire and PlayerIsWerewolf so you don't try to morph someone who is already morphed.

Edited by EnaiSiaion
Link to comment
Share on other sites

  • Recently Browsing   0 members

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