cB Random House Position and Patrol

Summary:
This mission is to demonstrate the use of the Random House Position and Patrol script, based on Tophe of stgta Ops Random Building Position Script v1.0. They sometimes fall off the roof, but hey its Zargabad after all.Four units will perform the four parameters of the script, that is random position within 10m, random position within specified distance, patrol within specified position and patrol within specified position with custom wait time. Use the radio commands for teleport and camera functions.

Usage:
Drop a unit and place the following in their INIT.

Move unit or object to random house position within 10m
0 = [this] execVM "crB_scripts\crB_HousePos.sqf";

Move unit or object to random house position within 50m
0 = [this, 50] execVM "crB_scripts\crB_HousePos.sqf";

Patrol unit to random house positions within 50m with a maximum wait time 300 sec between positions
0 = [this, 50, true] execVM "crB_scripts\crB_HousePos.sqf";

Patrol unit to random house positions within 50m with a maximum wait time 600 sec between positions
0 = [this, 50, true, 600] execVM "crB_scripts\crB_HousePos.sqf";

Parameters:
- the object
- the building search radius
- the patrol flag
- the maximum random wait time in seconds between patrols

Created by: (AEF)Wolffy.au [CTB]

Thanks to:
    Random Building Position Script v1.0 by Tophe of stgta Ops

Visit us a http://creoBellum.org

Change Log:
V0.3
Added - Move inanimate objects
v0.2
Fixed - Parameters divide by Zero error
v0.1 - Initial release

