Happytor Posted September 30, 2012 Share 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? Link to comment Share on other sites More sharing options...
disconsented Posted September 30, 2012 Share Posted September 30, 2012 Set your variables outside of your function and make sure they are set before you call them. Link to comment Share on other sites More sharing options...
Happytor Posted October 1, 2012 Author Share Posted October 1, 2012 Oh i see what i did wrong! thank you 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