SilentBang Posted August 3, 2014 Share Posted August 3, 2014 When I add my auto pistol to my fps player I get a script error when I launch my game after I built my map terrain etc, sorry im new to programming and developing game's hope you guys can help, im running on windows 7 with amd a10 5750m 2.50ghz + turbo 3.50ghz ram 8gb 1600mhz graphics card amd/ati 8650g 1gb Quote Link to comment Share on other sites More sharing options...
Haydenmango Posted August 3, 2014 Share Posted August 3, 2014 edit - I looked at the script and that line should actually look like this - local bob=0; local speed = math.max(0.1,self.player.entity:GetVelocity():xz():Length()) Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding Link to comment Share on other sites More sharing options...
SilentBang Posted August 3, 2014 Author Share Posted August 3, 2014 okay I tried that and I got a new error, sorry never done programming in lua Quote Link to comment Share on other sites More sharing options...
Haydenmango Posted August 3, 2014 Share Posted August 3, 2014 Sorry I gave you the wrong information initially. Look back at my first post, I edited it with the correct info. Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding Link to comment Share on other sites More sharing options...
SilentBang Posted August 3, 2014 Author Share Posted August 3, 2014 I now get script error unexpected symbol near ')' line 269 I did what you said I tried to upload pic says error this upload failed ._. was only 657 kb I fixed it thanks I found out my issue im sorry I've never done lua programming I study a little c++ visual studios 2010 sorry and thanks for you help man Quote Link to comment Share on other sites More sharing options...
Haydenmango Posted August 3, 2014 Share Posted August 3, 2014 No problem, glad you figured it out! 1 Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding Link to comment Share on other sites More sharing options...
Vulcan Posted August 3, 2014 Share Posted August 3, 2014 SilentBang, I am curious about how you attached your images. Where did you upload it to? Quote Link to comment Share on other sites More sharing options...
gamecreator Posted August 3, 2014 Share Posted August 3, 2014 If you click on More Reply Options at the bottom, you have the option to attach files on the next page. You can also use common image hosts like http://postimage.org/. 1 Quote Link to comment Share on other sites More sharing options...
SilentBang Posted August 3, 2014 Author Share Posted August 3, 2014 well to screen shot pics I use jing, then I just did what gamecreator^^ said, pretty easy to figure. 1 Quote Link to comment Share on other sites More sharing options...
Vulcan Posted August 4, 2014 Share Posted August 4, 2014 this will come in handy, thanks Quote Link to comment Share on other sites More sharing options...
Josh Posted August 4, 2014 Share Posted August 4, 2014 Is this an error in a Leadwerks script? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SilentBang Posted August 5, 2014 Author Share Posted August 5, 2014 just with lua not leadwerks had error with auto pistol and fps player I fixed it Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.