pickleplayer Posted March 8, 2018 Share Posted March 8, 2018 For some reason I can't something simple like "unpack(GLOBAL.WET_TEXT_COLOUR)" to work, it only complains about "unpack" being a nil value. It's used everywhere in the game's code to set text colour, but the second I try to throw it anywhere in my mod files, it spits back errors. I don't really understand how I'm using it any differently than the way it's used in the game's code, and a google search on the topic returns results for all the wrong kind of "unpacking" Anyone know what I'm doing wrong? Link to comment Share on other sites More sharing options...
Aquaterion Posted March 8, 2018 Share Posted March 8, 2018 if you're using in modmain, it might need to be GLOBAL.unpack Link to comment Share on other sites More sharing options...
pickleplayer Posted March 8, 2018 Author Share Posted March 8, 2018 21 minutes ago, Aquaterion said: if you're using in modmain, it might need to be GLOBAL.unpack Oh.... I swear to god I thought that was the first thing I tried, but apparently not. Problem solved, thanks d: 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