Marcus Posted February 20, 2013 Share Posted February 20, 2013 Will LE3 support callbacks that will automatically be called by the engine at the occurence of a specific event (i.e. collision)? For example: Player = {} function Player:new() local object = {} setmetatable(object, {__index = Player}) return object end -- Collision callback function function Player:onCollision(someObject) -- Some code end Quote Link to comment Share on other sites More sharing options...
Canardia Posted February 21, 2013 Share Posted February 21, 2013 Yes Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.