PcWizKid Posted March 31, 2010 Share Posted March 31, 2010 what does it mean when it says " attempted to index global 'whatever' (a nil value) " Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted March 31, 2010 Share Posted March 31, 2010 Probably means you are trying to run a script for an entity that you dont run. hard to tell without anymore information such as what you where doing. Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
AndyGFX Posted March 31, 2010 Share Posted March 31, 2010 Globaly this talk, that you have used variable which isn't instance or isn't declared/defined in called script. Try add: whatever = {} when 'whatever' is you variable. Quote [HW] C2D Q6600, 4GB RAM, NV8800GTX, Vista Ultimate x64 [sW] Blide Plus, BlitzMax, Delphi, C++, 3DWS 5.53, Leadwerks 2.xx Link to comment Share on other sites More sharing options...
Rick Posted March 31, 2010 Share Posted March 31, 2010 It means at the time 'whatever' is being used it isn't defined as anything so lua doesn't know what to do with it. Is it a function, a variable, a table, lua doesn't know because it hasn't been defined yet. Why you are getting this error is something that you'll have to post the code for us to tell. 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.