OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: trinec on 24 Mar 2005, 03:35:50
-
Hey could someone help me with a script were when a helicopter lands the units in a group on board get out and form a 360 around the helicopter either kneeling or prone then the helicopter flys off.
Thanks
-
The Kammak Squad Stuff 2 script pack has a hasty 360 script that's enabled via useraction.
You can find it in the ed depot here:
http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_6&start=25
-
ya ive looked at that one but im not sure if there is a way to make a group use that script automaticaly I dont want to have to command them to do the 360 I want when the helicopter lands the whole group gets out and automaticly forms a 360 for a few seconds then the control goes back to the individual soldiers. like for using in a cutscene..
-
Do it like this maybe, make a little script that when the squadleader get's out off the chopper (he's always the first one to leave chopper) just put this in script: [] exec "actHasty360Set2.sqs", and make a few seconds delay and add this line: [] exec "actHasty360Recover2.sqs".
But this only works with the players squad, if you want to use another squad you have to modify the actHasty360Set2.sqs and actHasty360Recover2.sqs.
-
ah duh that was too easy thanks alot man I tried it just for a test using a trigger and linking it to the group and it sets them all in the 360 so it should work ok for having a condition were all units exit the helo cool
thanks again Dane :)