MMOMinion
calling another LUA file - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: I Need Help with LUA coding! (https://www.mmominion.com/forumdisplay.php?fid=104)
+---- Thread: calling another LUA file (/showthread.php?tid=16458)



calling another LUA file - quickpurchase - 05-19-2016

Is there a way to add a call for another LUA file..

I know the structure but i'm looking for an actual command that would call a lua file. I can build the condition on my own.


RE: calling another LUA file - quickpurchase - 05-19-2016

I've currently got two LUA gathering files

a red scrip gathering.lua which runs between say (8-12) respectively..
and
a farming scrip running all other times.

I was looking to build timinig logic to say if the eorzamin time reaches 8-12 call the scrip.lua and build the same logic in reverse on my scrip gathering profile to call the farming profile outside of that window. I'm comfortable with the time condition commands but i wasn't sure how to actually call a different gather.LUA entirely or if that's not even possible.

Thanks for responding and in advance. -Quick


RE: calling another LUA file - brocklesnar - 05-19-2016

you only need 1 profile.
set [highpriority] = true; for the 8-12 ones and [lowpriority] = true; for the others