// Get the name of oCreature's sub race.
// * Returns a constant for the creature's SUBRACE of type RACIAL_SUBTYPE
int GetSubRace(object oTarget);

WARNING: This function previously returned a string but now returns an int. Any script which is imported that used this function will fail to compile

Community content is available under CC-BY-SA unless otherwise noted.