Casio91Fin 31 Posted October 31, 2021 The purpose should be to find the "TRANSMITTER" tower on the map and create a task from it. (23 pieces Altis) and of course to choose randomly. nearestTerrainObjects Share this post Link to post Share on other sites
Harzach 2507 Posted October 31, 2021 _center = [worldSize/2, worldSize/2, 0]; _transmitters = nearestTerrainObjects [_center, ["Transmitter"], sqrt ((0.5*worldSize)^2*2)]; _transmitter = selectRandom _transmitters; 1 Share this post Link to post Share on other sites
Casio91Fin 31 Posted November 1, 2021 thx @Harzach 1 Share this post Link to post Share on other sites
Harzach 2507 Posted November 1, 2021 I got maybe a little too fancy with the math (for "fun") so as to dynamically select the entirety of any terrain you use (a circle that intersects the four corners). You can of course use specific integers or whatever means you wish to derive the search area. Have fun! 1 Share this post Link to post Share on other sites