Bumber64 Posted September 18, 2022 Share Posted September 18, 2022 (edited) I can't figure out how to access constants like ANCHOR_LEFT in modinfo. GLOBAL doesn't seem to be defined, nor is Lua's string. I've been using ("").char(i) as a workaround to string.char(i), but I'd rather not use 1 instead of ANCHOR_LEFT, etc. Edited September 18, 2022 by Bumber64 Link to comment https://forums.kleientertainment.com/forums/topic/143268-accessing-globalsconstants-in-modinfolua/ Share on other sites More sharing options...
penguin0616 Posted September 18, 2022 Share Posted September 18, 2022 You can't. The environment is essentially empty. 2 Link to comment https://forums.kleientertainment.com/forums/topic/143268-accessing-globalsconstants-in-modinfolua/#findComment-1598754 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