[Solved] Need help with surface.find_entities_filtered
Posted: Sat Apr 09, 2016 6:04 pm
What does surface.find_entities_filtered return if it didn't find anything? I'm trying to check if a search area contains any entities of type="resource", and checking if the returned table ~= nil didn't work.
Please let me know if there's more info I can add. I've attached the mod, sorry if it seems messy. The place I'm having trouble with is around line 74 of the control.lua.
*Edit: Added [Solved] to subject.*
Please let me know if there's more info I can add. I've attached the mod, sorry if it seems messy. The place I'm having trouble with is around line 74 of the control.lua.
*Edit: Added [Solved] to subject.*