Jump to content

Scripting help


RA22

Recommended Posts

I am about to create stript that will change player race.

I created something, Cs susccesfuly saved my script (no errors or something like that), but it do not work right.

I need help in creating this. Anyone who help me will be in credits whem mod is finished.

 

Here is code that I created:

 

 

scn RA_changerace

ref Race
ref Player

begin OnEquip

set Player to GetSelf

if ( player race == Nord )
	player.set race to Imperial
	endif
endif
endif

End

Link to comment
Share on other sites

That would be because there isn't any command to change anything as fundimental as race. The only way to have a race change take place is using "showracemenu", at which point the player actually needs to make those decisions, and will lose any stats/levels (as well as vampirism) upon changing it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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