Jump to content
Sign in to follow this  
robot

Scheduled Helicopter Fly By

Recommended Posts

Hi All,

I am relatively new to arma editing and I have been following Mr-Murray's editing guide and reading everything I can here. I have had a very good search on this topic, but I am not quite hitting the info I need.

I know how to create a helicopter insertion / extraction, but I can't work out how to do something like the following.

I would like to have an AI piloted helicopter with no playable characters fly over a set of waypoints every X minutes. This chopper can be gunned down and I would like its cargo (weapons) to survive the crash.

The part that I can work out is the AI pilot and have them take off and make route and how to set up a schedule for that to be triggered.

Thanks,

robot.

Share this post


Link to post
Share on other sites

Can't answer your second question, nor probably the greatest at the first one, and a more experienced guy might tell different. But you could always spread the Helicopter's waypoints out across the map and time it via every x minutes. Can also use the timeout / countdown function in the waypoints to make him come every X seconds as well. As for the cargo surviving, No clue ;) sorry!

Share this post


Link to post
Share on other sites
Can't answer your second question, nor probably the greatest at the first one, and a more experienced guy might tell different. But you could always spread the Helicopter's waypoints out across the map and time it via every x minutes. Can also use the timeout / countdown function in the waypoints to make him come every X seconds as well. As for the cargo surviving, No clue ;) sorry!

Hey thanks for the input!

The waypoints will likely be simple A to B over the whole map. So where would I set the countdown function, in the vehicles init?

Share this post


Link to post
Share on other sites
Hey thanks for the input!

The waypoints will likely be simple A to B over the whole map. So where would I set the countdown function, in the vehicles init?

No, in the Helicopters Waypoint "timeout" area. Min is min he stay, mid avg, Max is max time. You can set 30,30,30 for Example and he will stay there for 30secs than move to his next waypoint.

There's a good YT video on this topic actually;

Share this post


Link to post
Share on other sites
No, in the Helicopters Waypoint "timeout" area. Min is min he stay, mid avg, Max is max time. You can set 30,30,30 for Example and he will stay there for 30secs than move to his next waypoint.

There's a good YT video on this topic actually;

Oh I got you now. I don't think I need a timeout as I would rather he did not stop. Looking at the video it looks like a countdown in a trigger for 3600 (1 hour) might do it. The only thing then is I need a unit to enter the trigger area to start the choppers journey. I would like the chopper to start right on the edge of the island and flow the whole distance across, so I am not sure what you initiate the trigger?

Dam, I have a lot to learn

Share this post


Link to post
Share on other sites
Oh I got you now. I don't think I need a timeout as I would rather he did not stop. Looking at the video it looks like a countdown in a trigger for 3600 (1 hour) might do it. The only thing then is I need a unit to enter the trigger area to start the choppers journey. I would like the chopper to start right on the edge of the island and flow the whole distance across, so I am not sure what you initiate the trigger?

Dam, I have a lot to learn

Could just use a Chopper with AI in it, set them to Careless and Never Fire, and they wont attack. Than set the Trigger to BLUFOR or OPFOR present and it will start going.

Share this post


Link to post
Share on other sites

What you could try to do about the scheduled fly-by is simply place a trigger close to your ground troops, so that they'd trigger the fly-by. Simply synchronize the first waypoint with the trigger and set the activation to BLUFOR, then present. Incase you want a special unit to be able to trigger it, group that unit with the trigger.

About the helicopters cargo, I'm pretty sure you were able to make the helicopter look destroyed, but so you would still be able to access the cargo. Not entirely sure about that, so I won't comment on it.

//Edit:

Check this for the helicopter craash: http://wiki.zspecialunit.org/index.php?title=ArmA_2_Mission_Editing_Code_Examples_and_Hints#Realistic_Chopper_Crash

Haven't tested it though.

Edited by tryteyker

Share this post


Link to post
Share on other sites

sincere thanks for your help guys. this community is great.

ok, I got the chopper doing just what I want. The last part is having a scheduled event, and by scheduled I mean time contingent and re-occurring at a fixed intervals.

This is Multiplayer, so its not so fixed in that unit x triggers y and then z starts, players are moving around undetermined with no fixed destination.

So what I need is some way of saying every X hours, a helicopter travela from to waypoint and from spawn. The spawn is and waypoints are both edges of the island, so I don't need any complex route, no insertions, excursions..just fly over the map every X hours.

I figure there must be a way of doing this as there is a worldtime?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×