Ruckus 0 Posted April 28, 2007 Is there a way to find roads in script? I've tryed with nearobject and a couple other methods but there doesn't seem to be a class for that? Also I was wondering if there was a new version of the Dialog creator software that was available for OFP. I've tried it, but I get a error when the dialog opens which complains about several different colors for some buttons that I added to the dialog. Any Ideas? Thanks in advance Share this post Link to post Share on other sites
fasad 1 Posted April 28, 2007 (nearestObjects [player,[], 10]) - ((getPos player) nearObjects 10) Returns an array of objects within 10m of the player that have no class, including things like roads and trees. It's a start, but I can't think of any way to filter out non-roads other than string manipulation, or maybe checking the heights of the object (roads should be quite close to ground level). It won't be fast... Share this post Link to post Share on other sites
Ruckus 0 Posted April 28, 2007 fasad, thanks for taking the time to check that out and make a suggestion. I'll have to give that a whirl and see what it can do. Thanks again Share this post Link to post Share on other sites