Difference between revisions of "SetCreatureGender"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
m (Added "See also") |
||
(3 intermediate revisions by 2 users not shown) | |||
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_ | + | |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_* | + | Sets the gender of a creature to a [[GENDER_*]] constant. To be used only in [[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. --> | + | |
− | + | ||
− | + | ||
<!-- 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
- 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.