Hi Jason,grimm wrote:Hi Thomas,
I was working on updating the turntable script to work in 1.28 and realized that once I did that it would only work in 1.28. It would be nice to have another script header variable that would have the version of Octane that the script works with and give an error if it doesn't match. Something like a @requiresVersion 1.28 or simply @octaneVersion 1.28? It might be nice to be able to specify a range?
Jason
We can add a version in the header and hide the scripts in the script menu that don't work with the current version. However, we don't parse the header while running the script but we could add an explicit API function that does a version check (this would be the first function in your script).
Keep in mind that once 1.5 is released we don't plan to break lua each release

cheers,
Thomas