I have the following script:
Код
--lua
local randomName = 'Kayla'
I am trying to use that variable in other script. The normal pilot syntax has similar function (
Переменные из других скриптов), but sadly couldn't find same for lua syntax.
The first thing I got on my mind is to write the variable in .txt file and then to read the same file in other script, but that won't be very fast solution in case the string is dynamic.
Do you have any suggestions?
Thank you.