Difference between revisions of "Chargen ModifyCreaturePropertyBase"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Fixing category)
m (Updating link)
Line 8: Line 8:
 
|param2type = int  
 
|param2type = int  
 
|param2name = nProperty
 
|param2name = nProperty
|param2desc = The property to modifiy (see [[PROPERTY*]]).
+
|param2desc = The property to modifiy (see [[PROPERTY_*]]).
 
|param2default =
 
|param2default =
 
|param3type = float
 
|param3type = float
Line 19: Line 19:
 
|returndesc = returns the lesser value of both
 
|returndesc = returns the lesser value of both
 
|sourcefile = sys_chargen_h
 
|sourcefile = sys_chargen_h
|sourcemodule = Core Resources
+
|sourcemodule = Core Game Resources
 
}}
 
}}
  

Revision as of 19:12, 3 August 2011

Modifiers a creature property base value by a given number

void Chargen_ModifyCreaturePropertyBase(
object oChar,
int nProperty,
float fModifyBy
);
Parameters:
oChar
Affected charakter.
nProperty
The property to modifiy (see PROPERTY_*).
fModifyBy
The value by which the property is modified.
Returns:

Nothing.

Source:

Core Game Resources.sys_chargen_h

Function to modify the baseproperty of a creature.