SetCreatureProperty
From Dragon Age Toolset Wiki
Revision as of 13:35, 11 January 2015 by Sunjammer (Talk | contribs) (Adding links and category, fixing text)
Set the specified value of a given property on a oCreature
void SetCreatureProperty(
object oCreature,
int nProperty,
float fNewValue,
int nValueType = PROPERTY_VALUE_BASE
);
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
- the value the property will be set to
- 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.
It does not work for TOTAL values: use the BASE value instead. See GetCreatureProperty for more details.