I'll try to do the update in time for the next release (probably a few months away, maybe less).
Inheriting from application registered class
The idea I have in my head is to add logic in the C++ FooScripted::CallMe to detect when the function is called from the script counter part, and in this case not forward the call back to the script.
This would be implemented by calling asGetActiveContext, and if there is one determine if the context is currently calling the C++ native FooScripted::CallMe function with the object == this.
Advertisement
Popular Topics
Advertisement