• Advertisement
Sign in to follow this  

LUA problem... soft of

This topic is 4837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, i've started using lua for scripting for my game engine. But when you register C functions so they can be called, i've noticed that you can't register a class function. Is there a solution that allows me to register any C class function in LUA without declaring them as static?? Cheers for any help :) Muncher

Share this post


Link to post
Share on other sites
Advertisement
ohhh soz, i mean a member function of a class...

ie/ cEngine.renderScene() wont work with LUA unless renderScene() is static or not part of a class...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement