Difference between revisions of "UpdateCreatureProperty"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Adding links and category, fixing text)
m (Adding title)
Line 33: Line 33:
 
<!-- == 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. -->
 
* [[SetCreatureProperty]]
 
* [[SetCreatureProperty]]

Revision as of 13:36, 11 January 2015

Update the specified attribute base value on a oCreature

void UpdateCreatureProperty(
object oCreature,
int nProperty,
float fNewValue,
int nValueType
);
Parameters:
oCreature
the creature whose property will be updated
nProperty
the property (stat) whose value we want to update
fNewValue
[Undocumented]
nValueType
the type of value of the property we want to update (CURRENT, MODIFIER)
Returns:

Nothing.

Source:

script.ldf

Description

Updates (adds the given value to the current value) the specified value of the selected property of a creature.

Only works for MODFIER and CURRENT values. See GetCreatureProperty for more details.

See also