Difference between revisions of "SetCreatureGender"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating link)
m (Added "See also")
 
Line 17: Line 17:
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
Sets the gender of a creature to a [[GENDER_*]] constant. To be used only in [[character creation]].
 
Sets the gender of a creature to a [[GENDER_*]] constant. To be used only in [[character creation]].
 
+
<!-- == Remarks ==  
<!-- == Remarks == -->
+
--><!-- This section contains additional comments, observations and known issues. --><!--  
<!-- This section contains additional comments, observations and known issues. -->
+
== Examples ==
 
+
--><!-- This section contains examples transcluded from the snippet library. -->
<!-- == Examples == -->
+
== See also ==
<!-- This section contains examples transcluded from the snippet library. -->
+
 
+
<!-- == See also == -->
+
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 +
[[GetCreatureGender]]
  
 
[[Category:Appearance functions]]
 
[[Category:Appearance functions]]
 
[[Category:Character generation]]
 
[[Category:Character generation]]

Latest revision as of 17:37, 25 September 2016

Set the gender of a creature

void SetCreatureGender(
object oCreature,
int nGender
);
Parameters:
oCreature
the creature whose gender is to be set
nGender
a GENDER_* constant
Returns:

Nothing.

Source:

script.ldf

Description

Sets the gender of a creature to a GENDER_* constant. To be used only in character creation.

See also

GetCreatureGender