A problem I can't identify - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13) +--- Thread: A problem I can't identify (/showthread.php?tid=7512) Pages:
1
2
|
A problem I can't identify - Duck - 08-01-2011 function TagCharacterGiveGUI(player) _G character = player.Character local i = game.Storage.Top local o = game.Storage.Bottom (This isn't the whole script) So apparently an "=" was expected on line 2 near character RE: A problem I can't identify - Qwertygiy - 08-01-2011 _G.character You forgot the dot. RE: A problem I can't identify - Duck - 08-01-2011 Whoops I overlooked it because I was busy searching for a missing equals sign. RE: A problem I can't identify - Qwertygiy - 08-01-2011 When it says [something] "expected near" [string], you forgot something (not neccessarily [something]) directly before [string]. It confused me for a few weeks before I finally got that into my head. RE: A problem I can't identify - Duck - 08-01-2011 I see. I spent weeks trying to grasp what an < eof > was in roblox X3 RE: A problem I can't identify - Qwertygiy - 08-01-2011 I used to make a lot of prank gear, like Epic Fail Reset Drink and Ro-Hot Candy. So when I first found Output (I cannot believe I managed to script for 4 months without it) and saw that... "Eat Other Food?" Oh wait... "E[nd]Of[Script]." RE: A problem I can't identify - Duck - 08-01-2011 (08-01-2011, 06:50 PM)Qwertygiy Wrote: I used to make a lot of prank gear, like Epic Fail Reset Drink and Ro-Hot Candy. So when I first found Output (I cannot believe I managed to script for 4 months without it) and saw that... 4 months? I used it from the start, but had no idea what it was trying to tell me except for which line the error was on and even then it threw me off, because when it said something like error at line 5 near banana (e.g. the line was game.workspace.banana) I had no idea what was wrong, but it was referring to the next line >: RE: A problem I can't identify - Qwertygiy - 08-01-2011 I only found it because I finally searched the ROBLOX wiki to find out what print() meant. I learned Lua via free models... the ROBLOX wiki is pretty hard to understand for a beginner to programming. RE: A problem I can't identify - Duck - 08-01-2011 (08-01-2011, 07:07 PM)Qwertygiy Wrote: I only found it because I finally searched the ROBLOX wiki to find out what print() meant. I learned Lua via free models... the ROBLOX wiki is pretty hard to understand for a beginner to programming. Really? I learnt through the page called the Absolute Beginners Guide to Scripting I had to read few it a few times and absorb a bit more each time, but it's served me well RE: A problem I can't identify - Qwertygiy - 08-01-2011 I absorbed the basics (function, if-then, while true do, for q = 1, #table do, wait(), etc) via free models and then once I knew what they were talking about I was able to use the wiki as reference. |