SetEffectEngineInteger

From Dragon Age Toolset Wiki
Jump to: navigation, search

Sets the specified integer on the effect Engine Data structure

effect SetEffectEngineInteger(
effect efEffect,
int nIndex,
int nValue
);
Parameters:
efEffect
The effect to set the value on
nIndex
The index of the value to set
nValue
The value to be set
Returns:

Returns the modified effect, returns an invalid effect on error.

Source:

script.ldf

Description

Sets the specified integer on the effect.

Remarks

The effect Engine Data structure is used to communicate with the game engine and can only be written to and not read from scripting. It is distinct from general purpose Effect Data structure which was previously used to exchange information.

This function should not be confused with SetEffectInteger.

See also