Цитата(kaltorak @ 31.3.2023, 21:19)
First I would like to thank all the forum contributors, it's been a little over 1 year since I started using UoPilot and dozens of topics I read here helped me a lot to evolve.
And it was thinking about this evolution that I started studying LUA to try to make more complex codes, since the standard language of UoPilot limits some resources. It is a great pity that Discord does not work so that we had a more direct contact.
Let's get to the questions:
1- On a scale of 1%-100% are commands like FindImage for example in LUA executed faster than the default FindImage in UoPilot or will the speed be the same?
2- Is it possible to take the value of a variable from Script 1 that was written with the default language of UoPilot and read it in Script 2 in lua code?
Ex:
Script tab 1:
set #a 1530
Script 2:
--lua
var = #a.1
1. The speed will be the same.
2. Probably not, usually the problem of transferring data between scripts is solved by a file, tcp connection or clipboard