You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :
Cloned the latest UEVR
Followed the instructions to compile
Moved the resulting "LuaVR.dll" into a UE4SS mod folder
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:
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: