Difference between revisions of "SetCreatureGender"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(looks okay, remove tag)
m (Updating link)
Line 1: Line 1:
 
{{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 [[character creation]].
+
Sets the gender of a creature to a [[GENDER_*]] constant. To be used only in [[character creation]].
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
Line 27: Line 27:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[Category: Appearance functions]]
+
[[Category:Appearance functions]]
 
[[Category:Character generation]]
 
[[Category:Character generation]]

Revision as of 20:02, 3 August 2011

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.