anchor.diff:                   or SameText(V.FType.ExportName, 'TKMScriptStates')
                    or SameText(V.FType.ExportName, 'TKMScriptActions');
         if not Allowed then
  -        fErrorString := fErrorString + 'Unsupported global variable type ' + IntToStr(V.FType.BaseType) + '|';
  +        fErrorString := fErrorString + 'Unsupported global variable type ' + IntToStr(V.FType.BaseType) + ': ' + V.FType.ExportName + '|';
       end;
   
       //Link script objects with objects
  
positive.code:                                         TmpString := VNGetString(ArrayVar);
                                          SaveStream.Write(TmpSingle);
                                        end;}
                          else Assert(False);
                        end;
                      end;
        btClass: ; //Don't give an error for States and Actions
        //todo: It would be better to alert the scripter to this mistake during compilation rather than relying on an assert in saving
        else Assert(False, 'Only some types can be global vars');
      end;
    end;
  end;
  
negative.code:                                         LoadStream.Read(TmpString);
                                          VNSetString(ArrayVar, TmpString);
                                        end;}
                        end;
                      end;
      end;
  