Difference between revisions of "SetLocalInt"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
m (note on predefining)
Line 23: Line 23:
 
oObject to the integer value nValue.  
 
oObject to the integer value nValue.  
  
<!-- == Remarks == -->
+
== Remarks ==
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 +
All local variables must be predefined in the target object's variables 2da file before this function can be used successfully. If a local variable is not predefined this function will fail silently.
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
 
== See also ==
 
== See also ==
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
[[GetLocalInt]]
 
[[GetLocalInt]]
 
[[Category: Variable functions]]
 
[[Category: Variable functions]]

Revision as of 05:42, 1 August 2009

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser extracted and matched all the information required to the best of its ability however the parser relies on the source file, and especially a function's comments, to be correctly formatted. If the source file was not correctly formatted the information presented may be incomplete.

This page should be reviewed by a knowledgeable scripter as it may require updating. If an issue with the source file is identified it should be reported to BioWare.

Please remove the {{Generated}} tag once the page has been confirmed or corrected.

Stores a local integer variable on an object.

void SetLocalInt(
object oObject,
string sVarName,
int nValue
);
Parameters:
oObject
Object to store the var on
sVarName
The name of the integer variable to store
nValue
The value of the integer to store
Returns:

Nothing.

Source:

script.ldf

Description

Sets the value of the local integer variable with the name sVarName on the object oObject to the integer value nValue.

Remarks

All local variables must be predefined in the target object's variables 2da file before this function can be used successfully. If a local variable is not predefined this function will fail silently.

See also

GetLocalInt