Difference between revisions of "SetCreatureGender"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
 
m (Added "See also")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
|name=SetCreatureGender
+
|name         = SetCreatureGender
|brief=Set the gender of a creature
+
|brief       = Set the gender of a creature
|param1type=object
+
|param1type   = object
|param1name=oCreature
+
|param1name   = oCreature
|param1desc=the creature whose gender is to be set
+
|param1desc   = the creature whose gender is to be set
|param2type=int
+
|param2type   = int
|param2name=nGender
+
|param2name   = nGender
|param2desc=GENDER_ const
+
|param2desc   = a [[GENDER_*]] constant
|returntype=void
+
|returntype   = void
|returndesc=
+
|returndesc   =  
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|sourcemodule=
+
|sourcemodule =  
 
}}
 
}}
  
 
== Description ==
 
== Description ==
 
<!-- 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_* const. To be used only in
+
Sets the gender of a creature to a [[GENDER_*]] constant. To be used only in [[character creation]].
Character Creation
+
<!-- == Remarks ==  
 
+
--><!-- This section contains additional comments, observations and known issues. --><!--  
<!-- == Remarks == -->
+
== Examples ==
<!-- This section contains additional comments, observations and known issues. -->
+
--><!-- This section contains examples transcluded from the snippet library. -->
 
+
== See also ==
<!-- == Examples == -->
+
<!-- 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]]

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