Difference between revisions of "SetCreatureRacialType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Added "See also")
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
|name=SetCreatureRacialType
+
|name         = SetCreatureRacialType
|brief=Sets a creature's racial type
+
|brief       = Sets a creature's racial type
|param1type=object
+
|param1type   = object
|param1name=oCreature
+
|param1name   = oCreature
|param1desc=the creature whose racial type we set
+
|param1desc   = The creature whose racial type we set
|param2type=int
+
|param2type   = int
|param2name=nRacialType
+
|param2name   = nRacialType
|param2desc=
+
|param2desc   = A [[RACE_*]] constant
|returntype=void
+
|returntype   = void
|returndesc=
+
|returndesc   =
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|sourcemodule=
+
|sourcemodule =
 
}}
 
}}
  
Line 18: 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 a creature's racial type. This has far reaching implications and should
 
Sets a creature's racial type. This has far reaching implications and should
not be called outside of character creation
+
'''not''' be called outside of 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. -->
 +
[[GetCreatureRacialType]]
  
 
[[Category: Appearance functions]]
 
[[Category: Appearance functions]]
 
[[Category:Character generation]]
 
[[Category:Character generation]]

Revision as of 17:33, 25 September 2016

Sets a creature's racial type

void SetCreatureRacialType(
object oCreature,
int nRacialType
);
Parameters:
oCreature
The creature whose racial type we set
nRacialType
A RACE_* constant
Returns:

Nothing.

Source:

script.ldf

Description

Sets a creature's racial type. This has far reaching implications and should not be called outside of character creation.

See also

GetCreatureRacialType