a_snail Posted April 28, 2009 Share Posted April 28, 2009 Hi all I've been looking at mboensch cartridge who had a problem with messagebox's buttons not working correctly. See original post: http://forums.Groundspeak.com/GC/index.php...p;#entry3892915 for more details. I eventually tracked it down to the name of the cartridge. The name he used was: A_Tour_of_Frankenmuth but doing a search and replace and changing it to ATourOfFrankenmuth fixed the problems. I'm guessing _ is a special character although in most languages _ is often used to represent space characters. I was wondering if anyone else had come across this and knew what other characters to avoid, or should all names (cartridge, zone, variable, etc) all be named using only A to Z and a to z characters. Quote Link to comment
a_snail Posted April 28, 2009 Author Share Posted April 28, 2009 I should also comment that doing a search and replace in the lua file for the obvious cartA_Tour_of_Frankenmuth changing it to cartATourOfFrankenmuth is not a good plan because of the line cartA_Tour_of_Frankenmuth.Name="A_Tour_of_Frankenmuth" If you forget that line, things get even worse Quote Link to comment
+sTeamTraen Posted April 28, 2009 Share Posted April 28, 2009 I'm guessing _ is a special character although in most languages _ is often used to represent space characters. I was wondering if anyone else had come across this and knew what other characters to avoid, or should all names (cartridge, zone, variable, etc) all be named using only A to Z and a to z characters. In Lua, an underscore _ can be used anywhere a letter can be. If anything special is happening with it, it's a bug in the builder. Quote Link to comment
Ranger Fox Posted April 29, 2009 Share Posted April 29, 2009 All .Name values need to relate to the object's name. It's odd and it messed me up too the morning of GW6 (though I fixed it before anyone else arrived). Quote Link to comment
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.