Difference between revisions of "SetCreatureGender"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(looks okay, remove tag)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetCreatureGender
 
|name=SetCreatureGender
Line 8: Line 7:
 
|param2type=int
 
|param2type=int
 
|param2name=nGender
 
|param2name=nGender
|param2desc=GENDER_ const
+
|param2desc=[[GENDER*]] const
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=
Line 17: Line 16:
 
== 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_* const. To be used only in [[character creation]].
Character Creation
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Revision as of 21:41, 2 March 2010

Set the gender of a creature

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

Nothing.

Source:

script.ldf

Description

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