SetSubRace

From NWN Lexicon
Jump to: navigation, search



SetSubRace(object, string)

Sets or changes a creature's or PC's subrace

void SetSubRace(
    object oCreature,
    string sSubRace
);

Parameters

oCreature

Creature to set the subrace on

sSubRace

Name of the subrace to set


Description

Set the name of oCreature's sub race to sSubRace.



Remarks

Unknown at this time if objects other than creatures can belong to subraces.


Version

1.31

See Also

functions: 

GetSubRace



 author: Lilac Soul