6 posts / 0 new
Last post
Wolffy.au
Offline
Joined: 24/06/2009
Random House Position and Patrol v0.3

Summary:
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.


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 Östgöta 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


Syndicated:


AttachmentSize
cb_housepos_0-3.zip9.29 KB
Wolffy.au
Offline
Joined: 24/06/2009
v0.2Fixed - Parameters divide

v0.2
Fixed - Parameters divide by Zero error

Wolffy.au
Offline
Joined: 24/06/2009
v0.3Added - Move inanimate

v0.3
Added - Move inanimate objects

WallyJas
Offline
Joined: 02/12/2009
Can you have an entire group

Can you have an entire group spawn together in a random house?

7th.Serf
Offline
Joined: 04/08/2010
Any chance we can get these

Any chance we can get these to work with the I44CO mod?  All the missions right now play 'scripted' style and I'm already getting bored with them and want the randomness that these scripts offer.  I'm not sure how to set these up to use the units in the mod.  Any help on this would be great!

Wolffy.au
Offline
Joined: 24/06/2009
They should work fine. Latest

They should work fine. Latest versions of these scripts are found within the MSO.


http://dev-heaven.net/projects/mso

 
Original Design by Gary Storey