Difference between revisions of "Disease RemoveDisease"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = Disease_RemoveDisease |brief = Removes Disease from a Character |param1type = object |param1name = oCharacter |param1desc = the Creature to remove Disease fr...')
 
m (Fixing source, adding categories)
 
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name = Disease_RemoveDisease
+
|name         = Disease_RemoveDisease
|brief = Removes Disease from a Character
+
|brief         = Removes a disease from a character
|param1type = object
+
|param1type   = object
|param1name = oCharacter
+
|param1name   = oCharacter
|param1desc = the Creature to remove Disease from
+
|param1desc   = the Creature to remove Disease from
 
|param1default =
 
|param1default =
|param2type = int
+
|param2type   = int
|param2name = nDiseaseID
+
|param2name   = nDiseaseID
|param2desc = the disease to remove
+
|param2desc   = the disease to remove
 
|param2default =
 
|param2default =
|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. -->
 
+
Removes a single disease from a single character.
Removes a certain Disease from a Character.
+
Disease effects are defined in the [[diseases 2da]] file.
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:Creature functions]]
 +
[[Category:Disease functions]]

Latest revision as of 14:27, 27 March 2012

Removes a disease from a character

void Disease_RemoveDisease(
object oCharacter,
int nDiseaseID
);
Parameters:
oCharacter
the Creature to remove Disease from
nDiseaseID
the disease to remove
Returns:

Nothing.

Source:

Core Game Resources.sys_disease

Description

Removes a single disease from a single character. Disease effects are defined in the diseases 2da file.