OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Smoshy on 22 Apr 2003, 08:06:29
-
Is it possible to randomize where my squad (individually) ends up after bailing out of a plane on script execution? Like Capt.Ryans first Normandy mission.
Cheers
Smosh
-
Could you attach a copy of the script and iÂ'll look into it?
-
Smoshy,
Why don't you Unpbo Capt. Ryan's mission and see how he did it?
IW
-
The script is just the same as I found here at OFPEC I think it was the helicopter bailout from memory.
_aunits = units Bob
_i = 0
_j = count _aunits
#BailBoys
(_aunits select _i) action ["EJECT", Bird1]
unassignvehicle (_aunits select _i)
_i=_i+1
~0.75
?_j>_i:goto "BailBoys"
exit
How do I Unpbo the file?
Cheers
-
Go to the Ed Depot - tools and get Amalfi's pbo decryptor 1.5. It's very easy to use and turns practically any .pbo file - including official campaigns - into open source.
-
Thanks dude. Will do.