Rick Posted February 21, 2018 Posted February 21, 2018 Just checking if anyone else if having an issue calling ForEachEntityInAABBDo() on the world object? I haven't changed this part of my code but today when I run I get the following error: 'attempt to call method 'ForEachEntityInAABBDo' (a nil value)' Just want to rule out some update messing this up while I keep pounding my head on why I'm getting this. Quote
gamecreator Posted February 21, 2018 Posted February 21, 2018 Works fine in C++, for what that's worth. Quote
Rick Posted February 21, 2018 Author Posted February 21, 2018 No, I'm not in Beta. OK, thanks I'll keep digging to see how I broke this. Quote
Rick Posted February 21, 2018 Author Posted February 21, 2018 Got it figured out. I had a variable self.world for current world but I named another variable that which wasn't an LE world. Quote
AggrorJorn Posted February 21, 2018 Posted February 21, 2018 Glad you found it. These things can be the main cause for hair loss. Quote
Rick Posted February 21, 2018 Author Posted February 21, 2018 Yeah, the joys of scripting languages Quote
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.