Lokai 10 Posted August 17, 2009 (edited) Hey guys, sorry if this is somewhere but I searched a bunch on this forum and ARMAHolic and their mission editor FAQ and could find nothing for what I am looking for. I am making a defense mission where you have to defend a certain area of a town and I want to add a timer for how long you need to hold out until and then when the timer is reached I would like that to trigger a helicopter coming and landing and *SOMEHOW* waiting for the player/players to get in and then it takes off and the mission ends with some kind of awesome job message or whatever lol. I found this for a timer http://www.ofpec.com/forum/index.php?topic=33457.0 but I have no idea how to link it. Anyone got any idea's? Sounds pretty complicated to me, I've seen a thread on a helicopter extraction but not one thats linked to a timer. Help on any of this would be greatly appreciated. Also that timer download I found pretty much has no instructions on how to use it..anyone know a different one? Edited August 17, 2009 by Lokai Found stuff Share this post Link to post Share on other sites
Gloopy 0 Posted August 17, 2009 (edited) I'm not sure about your timer, but for the helicopter extract you could try this. I've tried it and it works well. Create a secondary operations module (f7 for modules), call it som1, in the initialisation field of it put this: this setVariable ["settings", [[], true, nil, nil, false]]; Have a trigger with a countdown of 10 minutes for example. on the condition field use som1 getvariable "initdone" On the Activation field use this: ["transport", player] call BIS_SOM_addSupportRequestFunc; hint "Evac Available via radio" After 10 minutes, You can call a chopper to pick you up by opening the map, pointing where you want pickup and going through the radio to "transport". once all your guys are in, open the map, go back to the radio and choose "transport (active)", and it'll fly wherever your cursor is pointing! p.s the init stuff on the secops module disables you actually getting offered secops so it doesn't get in the way of your mission. Hope this helps. It's easier than scripting choppers and means you get more freedom about where and when you're picked up. Default chopper is a UH60 mg I believe, not sure how to change it but it must be possible. *edit, fixed code. Edited August 18, 2009 by Gloopy Share this post Link to post Share on other sites
JDog 11 Posted August 17, 2009 1) Set waypoints for the chopper and sync one to hold it there until a certain time in-game has been reached. 2) Script your chopper to hold position for a certain duration in a script with the 'sleep' command. 3) Same as 1 but sync the waypoint to something else that will happen when you want to be extracted. Just 3 different ideas. Share this post Link to post Share on other sites
Lokai 10 Posted August 17, 2009 I will try this stuff and see if it works and get back to you guys. Thanks Share this post Link to post Share on other sites
Lokai 10 Posted August 18, 2009 I haven't had time to try it yet but, I was hoping more for something that made a helicopter land at the same spot and give the player no control of where its going. It would work if you could control it, assuming the player obeyed the directions but I could see lots of problems ..like what would happen if the player called for it far away from the area they are defending and it got shot down. I was thinking the easiest and best way to have a helicopter that waits for the player to get in, and all other players *mission is 4 player coop*, and then take off and go straight towards the aircraft carrier in Chernarus, because they are supposed to be evacuating. That probably wouldn't be difficult on its own but I'm very unsure as to how to make it linked to a timer and how to make the helicopter wait until the players get in and then take off. Share this post Link to post Share on other sites
Lokai 10 Posted August 18, 2009 Anyone got any idea's for this? I'm not so worried about the visibile timer anymore, can't find anything for that, more just about having a helicopter coming and picking up the players and then waiting for all players to get in, unless they die, and then takes off and the players have no control over it. Share this post Link to post Share on other sites
jakerod 254 Posted August 18, 2009 Put a move waypoint and set its three time fields to however long you want it to wait. Then put an invisible H at where you want the LZ to be at. Give the helicopter a load waypoint and then give it another one where ever you want it to go afterward. Give the palyers a move waypoint and set the timers again for however long you want that to take. Then give them a get in waypoint and sync it to the load waypoint of the chopper. Share this post Link to post Share on other sites
Lokai 10 Posted August 18, 2009 Thanks for the response, I will try this and see how it works. I wasn't sure how to work the timers, tried a trigger before set to 10, 10 and 10 and it didn't go off at 10 minutes so I figured there was something more to that. Share this post Link to post Share on other sites
jakerod 254 Posted August 19, 2009 Thanks for the response, I will try this and see how it works. I wasn't sure how to work the timers, tried a trigger before set to 10, 10 and 10 and it didn't go off at 10 minutes so I figured there was something more to that. It goes by seconds and there are two options for a trigger. The default one I think makes it so that the condition must be true for 10 seconds and the other makes it so it waits for 10 seconds to activate after the condition is true. Share this post Link to post Share on other sites
Lokai 10 Posted August 19, 2009 What is up with the timeout thing? I've done 600 which is supposed to be 10 minutes and the freakin thing just sits there and never moves, a heli that is supposed to be taking off. I've done 100, which must be 2 minutes, and I've had them either do nothing at all or just ignore it and move on..anyone get it? I've been looking for some kind of documentation or previous forum subject on it for the last 2 hours but nothing. Share this post Link to post Share on other sites