SetLocalInt
From Dragon Age Toolset Wiki
Stores a local integer variable on an object.
- 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.