Happytor Posted September 30, 2012 Posted September 30, 2012 Hello, I'm a semi-good coder at lua and ive been trying to make a program that flashes a bunch of numbers across the screen, its for a space ship. I just learned how to kinda use functions so i decided to use them to make life easier. Here is the code (first pic) and when i run it it Goes to the next line but does not do anything else, no error. Any ideas how to fix this with the most ease? Quote
disconsented Posted September 30, 2012 Posted September 30, 2012 Set your variables outside of your function and make sure they are set before you call them. Quote
Happytor Posted October 1, 2012 Author Posted October 1, 2012 Oh i see what i did wrong! thank you Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.