has released an updated version of this function at armedassault.com.ar
The objective of this function is, taking care of creation, placing, units side, quantity, composition, skill, behaviour, speed and how the enemy and friendly patrols act in a mission.
The idea is -using some parameters-, that the function takes care of setting the level of unpredictability and danger the players require.
FormPatrol takes advantage of the possibilities of the function "CreateAll.sqf", so it's only a kind of capsule for CreateAll plus an exploration mini-engine which removes the generated groups or place them back depending on the presence or not of the opposite side it was programmed for.
, FormPatrol can be set as we like, using some transferred parameters (exactly 12).