1
Ask a Question / How do you force data to be of actor type?
« on: June 03, 2012, 09:05:03 am »
In the attached custom global block I am retrieving the target of an actor, which is of type actor, from a behaviour and attempting to return it as type actor, the compiler rejects it because the get uses the return type anything so the type doesn't match the expected return type. How do I force the data from the get into an actor return type?