Difference between revisions of "Injury AddInjury"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating parameters, adding category)
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name = Injury_AddInjury
+
|name         = Injury_AddInjury
|brief = Add a single injury
+
|brief         = Add a single injury
|param1type = object
+
|param1type   = object
|param1name = oCharacter
+
|param1name   = oCharacter
|param1desc = The character to add the injury to
+
|param1desc   = The character to add the injury to
 
|param1default =
 
|param1default =
|param2type = int
+
|param2type   = int
|param2name = nInjury
+
|param2name   = nInjury
|param2desc = Reference to [[Injuries.xls]]
+
|param2desc   = Reference to [[Injuries.xls]]
 
|param2default =
 
|param2default =
|returntype = void
+
|returntype   = void
|returndesc =  
+
|returndesc   =  
|sourcefile = sys_injury
+
|sourcefile   = sys_injury
|sourcemodule = Core Resources
+
|sourcemodule = Core 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. -->
 
 
<!-- == 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]]

Revision as of 13:07, 24 August 2011

Add a single injury

void Injury_AddInjury(
object oCharacter,
int nInjury
);
Parameters:
oCharacter
The character to add the injury to
nInjury
Reference to Injuries.xls
Returns:

Nothing.

Source:

Core Resources.sys_injury