ethanwdp Posted June 8, 2015 Share Posted June 8, 2015 Is there a way, instead of having two separate mod folders for Build 31 and Build 32, to detect the build version using Lua?I was thinking of having a single mod folder, and the Lua file would launch two variations of the code depending on the version. Link to comment Share on other sites More sharing options...
blindcoder Posted June 8, 2015 Share Posted June 8, 2015 You want getCore():getVersionNumber() which currently returns "Early Access v32.5" or something similiar. It returns exactly the string you see on the Main Menu in the bottom right. Link to comment Share on other sites More sharing options...
ethanwdp Posted June 8, 2015 Author Share Posted June 8, 2015 You want getCore():getVersionNumber() which currently returns "Early Access v32.5" or something similiar. It returns exactly the string you see on the Main Menu in the bottom right.Thanks for the godspeed reply!That was exactly what I was looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now