I have an error that I keep getting when I call Prepare() with error asCONTEXT_ACTIVE (and then Execute() asCONTEXT_NOT_PREPARED).
I guess this is because I'm nesting calls into the AS code, is this possible?
My application has an event system on the C++ side and I'm trying to route event calls from both C++ and AS through the same event manager, however some events are instant, so a program flow might look like this.
C++ : Game Object Manager will call the components update methods (as scripts).
AS : component fires instant event.
C++ : Delivers events to all subscribers (both C++ and AS). !!!ERROR!!!
AS : Finishes rest of update method.
Is this possible? Or do I have to finish the execution of the current AS method?