I have found that I am unable to call AIController.Sleep() from within the _get() metamethod of a class. Is this expected behaviour?
The following snippet should demonstrate this (tested in r19055)
Code: Select all
class foo {
function _get(x) {
::AIController.Sleep(1)
}
}
foo().bar

As for why I want this, I'm trying to create a dynamic Proxy class for a little bit of AOP, to streamline my codebase a little bit.
Thanks very much