Difference between revisions of "Disease AddDisease"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = Disease_AddDisease |brief = Adds Disease to a Character |param1type = object |param1name = oCharacter |param1desc = the creature to add disease to |param1def...')
 
m (Updating parameters, adding functions)
 
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name = Disease_AddDisease
+
|name         = Disease_AddDisease
|brief = Adds Disease to a Character
+
|brief         = Adds Disease to a Character
|param1type = object
+
|param1type   = object
|param1name = oCharacter
+
|param1name   = oCharacter
|param1desc = the creature to add disease to
+
|param1desc   = the creature to add disease to
 
|param1default =
 
|param1default =
|param2type = int
+
|param2type   = int
|param2name = nDiseaseID
+
|param2name   = nDiseaseID
|param2desc = the disease to add
+
|param2desc   = the disease to add
 
|param2default =
 
|param2default =
|param3type = int
+
|param3type   = int
|param3name = nAbilityID
+
|param3name   = nAbilityID
|param3desc = {{undocumented}}
+
|param3desc   = {{undocumented}}
 
|param3default = 0
 
|param3default = 0
|returntype = void
+
|returntype   = void
|returndesc =  
+
|returndesc   =  
|sourcefile = sys_disease
+
|sourcefile   = sys_disease
|sourcemodule = Core Resources
+
|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. -->
 +
Adds a certain Disease Effect to a Charaacter.
  
Adds a certain Disease Effect to a Charaacter.
 
 
Disease Effects are defined in the Disease 2DA ([[diseases.xls]])
 
Disease Effects are defined in the Disease 2DA ([[diseases.xls]])
 
 
<!-- == 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 13:02, 24 August 2011

Adds Disease to a Character

void Disease_AddDisease(
object oCharacter,
int nDiseaseID,
int nAbilityID = 0
);
Parameters:
oCharacter
the creature to add disease to
nDiseaseID
the disease to add
nAbilityID
[Undocumented]
Returns:

Nothing.

Source:

Core Game Resources.sys_disease

Description

Adds a certain Disease Effect to a Charaacter.

Disease Effects are defined in the Disease 2DA (diseases.xls)