UpdateCreatureProperty

From Dragon Age Toolset Wiki
Jump to: navigation, search

Update the value of the specified property value on a creature.

void UpdateCreatureProperty(
object oCreature,
int nProperty,
float fNewValue,
int nValueType
);
Parameters:
oCreature
the creature whose property will be modified
nProperty
the property whose value will be modified
fNewValue
the value to be added
nValueType
the type of value of the property to modify (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