GetLocalResource
From Dragon Age Toolset Wiki
Get a local variable of type resource on an object
- Parameters:
- oObject
- The object from which to get the variable
- sVarName
- The name of the variable
- Returns:
- Returns the value of the variable or an empty resource name on error.
- Source:
- script.ldf
Description
Gets 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.