Author: wolffy.au
Author Website: http://creobellum.org/

Requirements:

Version: 0.3

Short description: This mission is to demonstrate the use of the Random House Position and Patrol script.

Date: 2010-07-11 09:38


Comments: (2)
Rating:



 



cB Random House Position and Patrol
by
wolffy.au


Description:
This mission is to demonstrate the use of the Random House Position and Patrol script, based on Tophe of Östgöta 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.

Technically it can be used in Arma 2 or OA or both. Its just there aren't many enterable buildings in Arma2 to make it useful.


Usage:
Drop a unit and place the following in their INIT.
Move unit to random house position within 10m
0 = [this] execVM "crB_scripts\crB_HousePos.sqf";
Move unit 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


Changelog:
v0.3
- Added - Move inanimate objects

v0.2
- Fixed - Parameters divide by Zero error

v0.1
- Initial release


Credits & thanks:
Random Building Position Script v1.0 by Tophe of Östgöta Ops


Forum topic:
- Armaholic forums
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags