starting water in the way

Place to get help with not working mods / modding interface.
Justin Festa
Inserter
Inserter
Posts: 28
Joined: Wed Feb 04, 2015 12:07 pm
Contact:

starting water in the way

Post by Justin Festa »

I have a mod that creates some entities on load near the player. Problem is every now and then these entities load in water, where you are unable to reach them. Is there some way to push starting water further away from 0,0 location ?
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: starting water in the way

Post by Choumiko »

Might be easier if you use game.findnoncollidingposition() instead of hardcoded positions
Justin Festa
Inserter
Inserter
Posts: 28
Joined: Wed Feb 04, 2015 12:07 pm
Contact:

Re: starting water in the way

Post by Justin Festa »

thank you so much exactly what i needed.
Post Reply

Return to “Modding help”