Difference between revisions of "Injury AddInjury"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = Injury_AddInjury |brief = Add a single injury |param1type = object |param1name = oCharacter |param1desc = |param1default = |param2type = int |param2name = n...')
 
m (Fixing source, adding categories)
 
(2 intermediate revisions by 2 users not shown)
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 =  
+
|param1desc   = The character to add the injury to
 
|param1default =
 
|param1default =
|param2type = int
+
|param2type   = int
|param2name = nInjury
+
|param2name   = nInjury
|param2desc =  
+
|param2desc   = Reference to [[injuries 2da]]
 
|param2default =
 
|param2default =
|returntype = void
+
|returntype   = void
|returndesc =  
+
|returndesc   =  
|sourcefile = sys_injury
+
|sourcefile   = sys_injury
|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. -->
 
 
<!-- == 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:Injury functions]]

Latest revision as of 14:38, 27 March 2012

Add a single injury

void Injury_AddInjury(
object oCharacter,
int nInjury
);
Parameters:
oCharacter
The character to add the injury to
nInjury
Reference to injuries 2da
Returns:

Nothing.

Source:

Core Game Resources.sys_injury