Skip to main content
gamedev.net
🔒 Locked

LUA problem... soft of

Started by Muncher Nov 23, 2004 at 11:12 PM 1 replies 400+ views
Original Post
Muncher
Muncher
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
Muncher
Muncher
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...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.