Difference between revisions of "SetEffectEngineInteger"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated with joins}}
 
 
{{dafunction
 
{{dafunction
|name=SetEffectEngineInteger
+
|name         = SetEffectEngineInteger
|brief=Sets the specified integer on the effect Engine Data structure
+
|brief       = Sets the specified integer on the effect Engine Data structure
|param1type=effect
+
|param1type   = effect
|param1name=efEffect
+
|param1name   = efEffect
|param1desc=The effect to set the value on
+
|param1desc   = The effect to set the value on
|param2type=int
+
|param2type   = int
|param2name=nIndex
+
|param2name   = nIndex
|param2desc=The index of the value to set
+
|param2desc   = The index of the value to set
|param3type=int
+
|param3type   = int
|param3name=nValue
+
|param3name   = nValue
|param3desc=The value of the value to set
+
|param3desc   = The value to be set
|returntype=effect
+
|returntype   = effect
|returndesc=Returns the modified effect, returns an invalid effect on error.
+
|returndesc   = Returns the modified effect, returns an invalid effect on error.
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|sourcemodule=
+
|sourcemodule =  
 
}}
 
}}
 +
== Description == <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 +
Sets the specified integer on the effect.
 +
== Remarks ==    <!-- This section contains additional comments, observations and known issues. -->
 +
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.
  
== Description ==
+
This function should not be confused with [[SetEffectInteger]].
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
+
<!-- == Examples == --><!-- This section contains examples transcluded from the snippet library. -->
Sets the specified integer on the effect
+
== See also ==   <!-- This section contains links to articles, functions or constant groups. -->
 
+
* [[EFFECT_INTERGER_*]]
== Remarks ==
+
* [[effect_constants_h]]
<!-- This section contains additional comments, observations and known issues. -->
+
[[Category: Effect functions]]
The Engine data structure can only be written to and not read from scripting. It is also separate from Effect Data structure which was previously used as a all purpose way to exchange information.
+
 
+
<!-- == Examples == -->
+
<!-- This section contains examples transcluded from the snippet library. -->
+
 
+
<!-- == See also == -->
+
<!-- This section contains links to articles, functions or constant groups. -->
+
 
+
[[Category: Effect access functions]]
+

Latest revision as of 21:37, 29 March 2015

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