ACR_BuilderPlugin.Helpers.VariableHelper.GetString C# (CSharp) Method

GetString() public static method

public static GetString ( NWN2ScriptVarTable variables, string name ) : string
variables NWN2ScriptVarTable
name string
return string
        public static string GetString(NWN2ScriptVarTable variables, string name)
        {
            try
            {
                return variables.GetVariable(name).ValueString;
            }
            catch
            {
                return "";
            }
        }