Jump to content

How do I assign Race ID


vcm

Recommended Posts

I made a new race, but now I want to set the PCRace global variable for it (i.e. argonian is 1, breton is 2). I've tried testing it as what the number would be if it was alphabetized, but that didn't work (it would've screwed up all the races after it anyway by reordering them), and I've tried assuming TES CS automatically assigns it as the 11th race, but neither work out. Anyone know how I can check this variable or assign it? Thanks.
Link to comment
Share on other sites

I don't Know how to asighn the new globel, But if its for a script you can get the same affect with "GetRace"

it returns 1 if the object is the race and 0 otherwise.

EX:

 

if ( player->GetRace , "RaceID" == 1 )

 

It's not as nice and neat as a globel but it Gets the job done.

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...