UpdateCreatureProperty

From Dragon Age Toolset Wiki
Revision as of 13:36, 11 January 2015 by Sunjammer (Talk | contribs) (Adding title)

Jump to: navigation, search

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