Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

28 Excellent

1 Follower

About Nemanjic

  • Rank

Profile Information

  • Location

Recent Profile Visitors

1154 profile views
  1. newpos = [object1, 1, 500, 3, 0, 10, 0] call BIS_fnc_findSafePos; works fine. I was helped from friend on discord and this post is if someone need this where are: object1(center), 1(min distance from center), 500 (max distance from center), 3 (not closer to any other object) 0 (not in/on water), 10 (targeted gradient), 0 (not on shore).
  2. I see there is problem with using code with blacklist area and it is one more hope for me because I just want to use code as "default" format so without blacklist but I can't figure out how. This is goal: to randomly place artillery piece in big marker area but on safe flat place and in hope for do that I dropped marker "m1" and vehicle "art1" I tried: init.sqf: _newpos = [m1, 1, 150, 3, 0, 20, 0] call BIS_fnc_findSafePos; and after in game I run: art1 setPos _newpos. I also tried with quotes because without them there is error in expression so: _newpos = ["m1", 1, 150, 3, 0, 20, 0] call BIS_fnc_findSafePos; also does not work but this time there was not error. Please if anybody can help or tell me where I wrong I tried to simply follow BIS example: [center, minDist, maxDist, objDist, waterMode, maxGrad, shoreMode, blacklistPos, defaultPos] call BIS_fnc_findSafePos ,but no results at all. Sorry for writting in thread older then limited but I thouth it is better then create new one just for simple thing like this (which I still cant make to work). So i tried to define _newpos and to run it after in game with debug but don't know where I mistake. Thanks in advance
  3. Nemanjic

    HAFM NAVY (Ships) - v2.0

    Confirming the drops for few seconds, and now I know why..
  4. Thank you legend!!! It is nice to see project is very alive.. you make my day (and year probably) :)
  5. Nemanjic

    Forward Scan Sonar for ships

    Such a wonderfull mod! So much new options with this in spec operations. Thank you sir
  6. This is a great mod but you have to quit from some other features of other mods coz they dont work in conjuction with this one. I dont remember exactly wah and how but it have something with medical system at least.
  7. Nemanjic

    DEPTH setPos random

    Solved!! I put all tree values (min, mid, max) for every axis where minimum is from and maximum is up to coord! Thank you bro, this help a lot also helped learning! mine1 setPos [random [500, 550, 600] , random [500, 550, 600], random [-200,-100,0]]; ❤️
  8. Nemanjic

    DEPTH setPos random

    Thanks for time sir. Testing now.. _rNumber = random 50; -does this means that randomization will go from 0 to 50? mine1 setPos [random 500, random 500, random -200]; -this works well but it only randomize position from 0 up to 500 by X, also 0 to 500 by Y and -200 to 0 by Z. How could I make it not to be from 0 because 0 is always left corner of map? @stanhope -Or inside marker placed in exact area where divers whould look for mine but with Z random coord..
  9. Nemanjic

    DEPTH setPos random

    Tested now, but it is not random. It place mine on exact coords I put in code. Like this: mine1 setPosASL [(getPosASL player select 0) +5, (getPosASL player select 1) +1, (getPosASL player select 2) -40]; so mine is always 5 meters of player by X axis, 1 meter by Y and 40 meters beneth. Also if I put player (lets say anchor for mine position) randomly using knowing way for 2d random placement, it will spawn mine on the same depth as I put in code no matter where the player/anchor is, becouse the player is always on surface. If this code can be randomized somehow? To make array from 1000,1000,0 to 2000,2000,-100 for example. And then game choose point in that array to place mine counting Z axis also. This way I will have 1000m3 space for random placement. This is for community everyday basis training and I have to set it manualy every time, and upload new mission every time when I change depth of mines they need to search for. Thats way I need randomization.
  10. Guys I need help with setting position of object follownig array of coordinates but including negative Z. https://forums.bohemia.net/forums/topic/153382-shk_pos/ I found this but links are broken and found this ; _mystartpositions = [[0,0,0],[5234,7345,0]]; _rndstartposition = _mystartpositions call BIS_fnc_selectRandom; object1 setpos _rndstartposition; but code only place object on those two locations randomly. Eden placement radius is useless because it always place object on surface. I need this: -moored naval mine to be randomly placed in specific area on the sea (could be marker) but also to randomize depth (z axis). For now, I only manage to place mine randomly X and Y but Z is always the same distance from the bottom so divers alsway know to dont search for mine between surface and bottom -40m. (40m is a chain of naval mine which is always placed on bottom.) - That is what I need! Z randomized axis so the mine could be on any depth between bottom and surface. Thanks in advance
  11. Nemanjic

    Zero Dark Zero

    The Legends are back! MHMI - Must have mods industries I love you guys!!
  12. That feeling when your favourite mod is updated! Thank Shay_G!
  13. Just to say BIG thanks! For all your little mods which makes BIG differences! This time is simple map tools! Thanks so much!
  14. Nemanjic

    HAFM NAVY (Ships) - v2.0

    Great! Thank you guys, you are genious!