Difference between revisions of "SetAppearanceType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(add links)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetAppearanceType
 
|name=SetAppearanceType
Line 6: Line 5:
 
|param1name=oCreature
 
|param1name=oCreature
 
|param1desc=A creature
 
|param1desc=A creature
 +
|param1default=
 
|param2type=int
 
|param2type=int
 
|param2name=nApperanceId
 
|param2name=nApperanceId
|param2desc=
+
|param2desc=An appearance, defined in [[APR base.xls]]
 +
|param2default=
 
|param3type=int
 
|param3type=int
 
|param3name=bSetAsOriginal
 
|param3name=bSetAsOriginal
 
|param3desc=Specifying TRUE will set the given id as the original appearance type
 
|param3desc=Specifying TRUE will set the given id as the original appearance type
 +
|param3default=FALSE
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=
Line 20: Line 22:
 
== 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 AppearanceType of a creature. Can be used character generation and shape shifting
+
Sets the AppearanceType of a creature. Can be used in [[character generation]] and [[shapeshifting]].
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 22:31, 15 January 2010

Sets the AppearanceType of a creature. Can be used for character generation and shape shifting

void SetAppearanceType(
object oCreature,
int nApperanceId,
int bSetAsOriginal = FALSE
);
Parameters:
oCreature
A creature
nApperanceId
An appearance, defined in APR base.xls
bSetAsOriginal
Specifying TRUE will set the given id as the original appearance type
Returns:

Nothing.

Source:

script.ldf

Description

Sets the AppearanceType of a creature. Can be used in character generation and shapeshifting.