Creating a EQS Test
I'm trying to create a EQS test that is used with the Actors of type generator. the purpose of the test is to check the team variable inside the class passed. ( I understand that it's not very generic but it will get the job done for now ). I'm just taking a shot at it by looking at the EQS Distance Test but I'm having trouble converting the QueryInstance to my specific actor class. I imagine that this is because tests are supposed to be able to be used with any kind of generator but I just don't have a switch in there yet. This is where I stand so far but the Cast< AShadowHeroes_Unit >(QueryInstance.GetItemAsActor) throws an error.
If anyone can help point me in the correct direction, I'd appreciate it.
I know it should be more generic than it is, but It's a proof of concept before I try to include a templated class parameter to the test. (I'll look at how it's done in the actors of class generator)
asked Dec 08 '14 at 09:12 PM in C++ Programming
What kind of error does it throw at you? If you just copy-pasted your code here I'd guess the problem is that you're missing parenthesis in your
answered Dec 08 '14 at 09:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here