Posted by member 106929 on 2007-12-18 04:23:02
sorry to be asking so many dumb questions but..
how do i link multiple lua files so that i can use a function from one file in another?
for example: ----
x.lua:
function x() lslua.message_box("hi") end
call_x.lua:
function wheres_x() x() end
-----------------
i guess i just can't figure out how to set up my files so that i can "require" them? i don't know..
thanks
how do i link multiple lua files so that i can use a function from one file in another?
for example: ----
x.lua:
function x() lslua.message_box("hi") end
call_x.lua:
function wheres_x() x() end
-----------------
i guess i just can't figure out how to set up my files so that i can "require" them? i don't know..
thanks