A class method of the ExternalCommands ActionScript class.
Returns the requested attribute value from the game engine
- The hierarchical attribute-string associated with the value to retrieve
- The requested attribute value from the game engine
The attribute name is a string which has meaning to the game engine. It's typically hierarchical, using dots to separate the levels.
The following would return the gamma setting in the user's DragonAge.ini file:
The following would return the name of the selected character:
Getting the selected characters tag is similar, but with .Tag instead of .Name
If the retrieved value is to be passed back to the game and is a number, you must instead use GetNumber or convert the value back into a Number type first.