Difference between revisions of "Injury AddInjury"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating parameters, adding category)
m (Fixing source, adding categories)
 
Line 8: Line 8:
 
|param2type    = int
 
|param2type    = int
 
|param2name    = nInjury
 
|param2name    = nInjury
|param2desc    = Reference to [[Injuries.xls]]
+
|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 == -->
Line 24: Line 24:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[Category:Uncategorised function]]
+
[[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