🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Bug with script functions passed into ?& in

Started by
1 comment, last by Solokiller 8 years, 5 months ago

There seems to be a bug with script functions passed into a function using a ?& in parameter. The object type for this returned by asIScriptEngine::GetObjectTypeById returns -1 as the type id (asIObjectType::GetTypeId).

While the type id is already available, it would be nice if this method returned the same type id.

Advertisement

Try the latest WIP.

I've completely refactored how the script functions and funcdefs are represented as typeid and typeinfo. They are now working the same way as all other types.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I'll check it out soon. We're releasing our game (Sven Co-op) this Friday, so updates to this code will have to wait.

Thanks for the quick reply :)

This topic is closed to new replies.

Advertisement