-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] for more info regarding the UEVR Lua API #246
Comments
https://github.com/praydog/UEVR/tree/lua-api Not ready. |
Ah, ok, that would do it. |
You can try the newly updated Lua API that is in the works in the PR here: #255 You can get the lua-api branch builds from the Actions page The one that's being worked on is far more capable than the one that was originally written about in the docs right now. |
Fantastic news! |
I didn't really know how to categorize this I didn't feel comfortable labeling this as a bug as the problem is likely user error on my part.
I am extremely interested in using the Lua API to make UEVR plugins
Would be possible to get more information on the UEVR Lua API in regards to setup and usage ?
I have scoured the UEVR Discord for any relevant information about the Lua API and the only useful info I could find was the following :
"UEVR has no Lua API compiled into itself, it is a separate DLL that interacts with UEVR and can and has to be used in conjunction with a separate Lua environment Like UE4SS
You would need to compile the lua API within UEVR first, then move it into a UE4SS mod folder, then require it from a lua script, then inject UEVR"
So far I have :
I then tried to do something simple from the "Lua API" UEVR Documentation, something trivial like printing version number etc.. just to make sure things were working.
However, once I added (copy and pasted just to be sure) a few commands from the examples the script would not get past the second line :
local LuaVR = require("LuaVR")
local params = LuaVR.params
Error "attempt to index a boolean value (local 'LuaVR')
As I mentioned above, this is likely user error, I am no scripting wizkid by any means but I'm simply not sure what I am doing wrong.
Perhaps I didn't compile correctly ?
Perhaps I'm putting the LuaVR.dll in the wrong place ?
Could even be something stupid on my part, I have a habit of overthinking.
Any help or even a point in the right direction would be greatly appreciated.
The text was updated successfully, but these errors were encountered: