SetCreatureProperty

From Dragon Age Toolset Wiki
Revision as of 23:33, 31 July 2009 by BryanDerksen (Talk | contribs) (1 revision: re-import with default parameter value parameters set)

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.

Set the specified value of a given property on a oCreature

void SetCreatureProperty(
object oCreature,
int nProperty,
float fNewValue,
int nValueType = PROPERTY_VALUE_BASE
);
Parameters:
oCreature
the creature whose property we want to set
nProperty
the property (stat) we want to modify
fNewValue
[Undocumented]
nValueType
the type of value of the property we want to modify (BASE, CURRENT, MODIFIER)
Returns:

Nothing.

Source:

script.ldf

Description

Sets the specified value of the selected property on a creature. Doesnt work for TOTAL values. Use BASE instead. See GetCreatureProperty for more details