Apologies for bothering you with this, but I have been trying to figure it out on my own for a couple of hours now - and have admitted defeat.
I am trying to add maxGrad as a parameter to the findsafePos.sqf in an attempt to stop the hideouts spawning on steep slopes in the jungle.
Any pointers would be greatly appreciated! https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/common/findsafepos.sqf https://community.bistudio.com/wiki/BIS_fnc_findSafePos