Help - Search - Members - Calendar
Full Version: How do I assign Race ID
The Nexus Forums > Specific Games > Morrowind > Morrowind Plug-Ins > TES Construction Set
vcm
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.
breck
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.