SetCreatureProperty
From Dragon Age Toolset Wiki
Set the value of the specified property on a creature.
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 will be modified
- nProperty
- the property whose value will be modified
- fNewValue
- the value to be used
- nValueType
- the type of value of the property 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.