• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

122 Neutral

About Zich

  • Rank
  1. Got another for you... is there a way to have angelscript use a method within an existing class instance for a function call from angelscript, instead of creating a new instance? i.e.: // c++ class MyClass { public: void myMethod() {} }; MyClass myInstance; // angelscript whateverFunction(); ^^^ myInstance.myMethod() gets called here? I'm working on a somewhat unusual project where I absolutely have to use the existing instance.
  2. Syntax error exception handling

    That will do it... thanks!
  3. Is there any way to gracefully handle syntax errors within an angelscript? I know context->execute() returns a negative number on a syntax error, but I would like to be able to get a little more information, like at least a line number. Is this possible?
  • Advertisement