a) It means that 'timer' variable was created but not given a value yet.
b) Yes, you count blank lines. Use Crimson Editor or another text editor that shows line numbers.
Im getting a lua error of global timer 'timer' a nil value
what is that.
And when it says the line
like lua:script.lua:10
do you count spaces or not.
a) It means that 'timer' variable was created but not given a value yet.
b) Yes, you count blank lines. Use Crimson Editor or another text editor that shows line numbers.
i use Text editor, all you press is alt-g and type the line with the error and it goes right to it. It also has a nifty find and replace feature.
http://one.revver.com/watch/170516
http://one.revver.com/watch/167200
Please click the links above to watch my stick figure animations,
and please, if you have the time, click the ads at the end to earn me some money.
ConTEXT is also a good text editor![]()
Text Editor is not freeware and ConTEXT had problems with line wrap last time I used it.
Notepad2 is the lightest weight one that I have used but lacks sytanx highlighting for Lua.
PsPad Editor is my weapon of choice. Syntax highlighting for various languages, diff, spell checking, splitviews on the same file and a ton more features. Free as well.
I think that all you have to do is add () after you declare your "timer"
timer()
at least thats the same error I got when I tried to call
"player"
without the ()
and when it tells you what line its on, thats the line, even if lines 1 - 9 are empty
and personaly, I use microsoft wordpad lol...
cool i've been gettin that error for a couple days and now i know why lol i was drivin me crazy![]()
Is it possible to make 3d games in lua
To answer your last question, Yes it is possible to make 3D games in Lua...There's samples in the DCemu Lua Downloads page...I advise you check them out.
also, I just got (from Apoklepz) a GMax 2 PSP plugin for GMax, that supposedly allows for 3D models to be used on Lua. I havent tried it yet, but when I do I will make a thread about how to use it (if I can figure it out:P)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks