Old 03-05-2015, 10:06 AM   #1
Samelot
Human being with feelings
 
Join Date: Oct 2013
Posts: 77
Default Using Lua modules / packages

hello, i know that you can import and link to lua files, but I was wondering if it would be possible to download lua libraries and import and make use of their functionality?
Samelot is offline   Reply With Quote
Old 03-05-2015, 10:40 AM   #2
tomotello
Human being with feelings
 
Join Date: Feb 2012
Posts: 4
Default

Quote:
Originally Posted by Samelot View Post
hello, i know that you can import and link to lua files, but I was wondering if it would be possible to download lua libraries and import and make use of their functionality?
as long as the sources and it's dependencies are Lua 5.3 compliant that should work.
An example is X-Raym's lua template which loads console debugging messages:

require("X-Raym_Functions - console debug messages")

see here:
https://github.com/X-Raym/REAPER-Rea...m_Template.lua
tomotello is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.