kinggath Posted March 23, 2017 Share Posted March 23, 2017 I assumed that SomeObjectRef.GetBaseObject() as Terminal would tell me if an object reference was a Terminal type, but it doesn't seem to be working in my tests. Has anyone thought of a clever way to find out if an object reference is a Terminal? Link to comment Share on other sites More sharing options...
shavkacagarikia Posted March 23, 2017 Share Posted March 23, 2017 have you tried checking by keywords? Link to comment Share on other sites More sharing options...
kinggath Posted March 23, 2017 Author Share Posted March 23, 2017 That might work, just check for all the terminal related animation keywords. Will give it a go - thanks for the suggestion! Link to comment Share on other sites More sharing options...
kinggath Posted March 23, 2017 Author Share Posted March 23, 2017 That worked flawlessly. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted March 23, 2017 Share Posted March 23, 2017 I'm glad :) Link to comment Share on other sites More sharing options...
steve40 Posted March 24, 2017 Share Posted March 24, 2017 Just for the record, you can use If SomeObjectRef.GetBaseObject() is Terminal rather than trying to cast the ref as Terminal script. Link to comment Share on other sites More sharing options...
scrivener07 Posted March 25, 2017 Share Posted March 25, 2017 I like steve40s answer the best. Link to comment Share on other sites More sharing options...
Recommended Posts