Jump to content
Script

Working with Lua?

Recommended Posts

Nope. You can call an executable (eg:lua-interpreter) if you make a simple plugin that allows you to do this from scar (I have a plugin for that somewhere on my computer)...

But you are not going to get any two-way communication. Just be able to execute Lua-scripts from SCAR. Which makes it pretty useless for you, I am sure.

 

Or, you can also use sockets to communicate with a running LUA-script..

 

WOW uses Lua as the scripting-language, but there isn't anything special about LUA over other embeddable dynamic languages (except that its a very small language). The core and more complex, expensive tasks in WOW are written in C++.

 

 

May I ask why you wish to use Lua in/from SCAR?

Are there any particular things you would like to see in SCAR that the Lua (syntax) offers? Or is it just that u prefer dynamic typing?

 

 

--

Another thing: LUA is generally not to hard to convert to Pascal, but that does depend on the complexity of the Lua-code, as it will probably get more complex in pascal.

Edited by slacky
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...