UpdateCreatureProperty

From Dragon Age Toolset Wiki
Revision as of 17:13, 29 July 2009 by BryanDerksen (Talk | contribs) (1 revision: Importing auto-generated function articles)

Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

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