SetEffectEngineObject

From Dragon Age Toolset Wiki
Jump to: navigation, search

Sets the specified object on the effect Engine Data structure

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

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

Source:

script.ldf

Description

Sets the specified object 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 SetEffectObject.

See also