SetLocalResource
From Dragon Age Toolset Wiki
Sets a local variable of type resource on an object
- Parameters:
- oObject
- The object on which to set the variable
- sVarName
- The name of the variable
- sResource
- The new value of the variable
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Sets the value of a local variable of type resource on the specified object.
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.