Original Post
Hi I have a system where I in certain situations look for classes in a script. To do this I use GetTypeIdByDecl to get a type id from a name, and see if that is a class. My problem is that if there is a function in the script which happens to have the name I'm looking for instead of the class, I will get a runtime AS error saying "Identifier 'something' is not a data type". I can see why this happens, but is there some way of doing what I'm doing without triggering this error? Like getting a list of all types and scanning it myself or something? Thanks in advance