Difference between revisions of "Chargen ApplyClassAbilities"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(created)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
−
|name=Chargen_ApplyClassAbilities
+
|name         = Chargen_ApplyClassAbilities
−
|brief=Applies the abilities granted to a character because of picking a class.
+
|brief         = Applies the abilities granted to a character because of picking a class.
−
|param1type=object
+
|param1type   = object
−
|param1name=oChar
+
|param1name   = oChar
−
|param1desc=The character.
+
|param1desc   = The character.
−
|param1default=
+
|param1default =
−
|param2type=int
+
|param2type   = int
−
|param2name=nClass
+
|param2name   = nClass
−
|param2desc=Represents the Row of the M2DA_base.
+
|param2desc   = Represents the Row of the M2DA_base.
−
|param2default=
+
|param2default =
−
|param3type=int
+
|param3type   = int
−
|param3name=bUnApply
+
|param3name   = bUnApply
−
|param3desc=Whether to apply (default) or unapply the modifier.
+
|param3desc   = Whether to apply (default) or unapply the modifier.
−
|param3default=FALSE
+
|param3default = FALSE
−
|returntype=void
+
|returntype   = void
−
|returndesc=
+
|returndesc   =
−
|sourcefile=sys_chargen_h
+
|sourcefile   = sys_chargen_h
−
|sourcemodule=core
+
|sourcemodule = Core Game Resources
 
}}
 
}}
−
 
+
== 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. -->
−
Reads the class from cla_base.xls and applies it.
+
Reads the class from [[cla_base.xls]] and applies it.
−
 
+
<!-- == Remarks == -->
−
== Remarks ==
+
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
−
 
−
 
−
 
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
−
 
+
<!-- == See also == -->
−
== See also ==
+
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 +
[[Category:Uncategorised function]]

Latest revision as of 23:13, 31 August 2011

Applies the abilities granted to a character because of picking a class.

void Chargen_ApplyClassAbilities(
object oChar,
int nClass,
int bUnApply = FALSE
);
Parameters:
oChar
The character.
nClass
Represents the Row of the M2DA_base.
bUnApply
Whether to apply (default) or unapply the modifier.
Returns:

Nothing.

Source:

Core Game Resources.sys_chargen_h

Description

Reads the class from cla_base.xls and applies it.