Community Forum

Plugin interface to LUA scripting

Forum Overview >> Scripting

CategoryScripting
Created12.11.2009 12:37


Thorsten Mueller (Unknown) 12.11.2009 12:45
Hi,

i have created a model which is animated by the script main.lua. This model is loaded in the game engine. Additional i have prepared a c#-project, where the luainterface.dll is added as reference. How can i read/write global variables from the main.lua script in the c#-program? Is it possible to integrate an external dll into the lua-script? But i prefer the solution with the c#-program.

Thanks
Thorsten

Christian Ammann - GIANTS Software 12.11.2009 14:22
Hi Thorsten,

That is not possible with the non commercial version of the GIANTS Engine SDK. However the commercial version of the Engine SDK has a plugin system that can bind any kind of dll into LUA scripting of the engine.

Cheers


Thorsten Mueller (Unknown) 12.11.2009 16:56
Hi Christian,

is there another way to read/write or send some variables from the game engine to my own interface program (non commercial version)? I want send/receive some bytes to have an interaction with my control system.

Thanks
Thorsten

Christian Ammann - GIANTS Software 14.11.2009 11:26
Hi Thorsten,

I don't see a solution to your problem without the plugin system of the commercial version.

Cheers


Note: Log in to post. Create a new account here.