I am looking to implement into a mission a sort of active airway service between sth sarahni, antigua and ramahdi using this script set for takeoff and landings, however I'm running into a few issues or needing to modify the scripts and not knowing how.
Anyway I'm unsure how/where (once takeoff is complete) to exec the line for the landing sequence. I have tried a trigger at the end of the runway activated by the plane but the line I'm entering (*) in the on activation of the trigger is coming up with an error that says 'Type Script, Expected Nothing' (forgive my scriptardation). Basically what I want achieve is that (for instance) plane A sits on a runway for 5 minutes then taxis, takes off, + flight time, lands, taxis, waits for 5 minutes and repeats.
* Line entered into on activation of trigger
edited - now unimportant
edit: ok, I've got the landing and takeoffs to work (in a very rudimentary multiple triggery sort of way). however I'm having trouble with a couple of things.
1. I can't board the plane through the action menu, only through a radio trigger with a moveincargo command. Each time I click 'Get in DC3 Ride in Back' it teleports me to the getin point outside the plane and will do so each time I click the option but will never board me.
2. I can't get it (the plane) to wait for anything more than a couple of seconds (either by trigger countdown or through the exec line of mando_takeoff.sqf) because with it's engines on it drifts over time and usually ends up in the nearest valley. At which point the takeoff sequence begins and it climbs the hill an takes off like nothing had happened (if it doesn't crash/explode in said valley).
3. Also engine related, but the command to switch off the engine happens as soon as the plane reaches its land waypoint and then taxis the entire runway with it's engines off before turning them back on again at the last taxi waypoint. How do I go about changing mando_land.sqf so that the engines remain on until the final taxi point? so that when I next exec him for take off he turns his engines back on.
4. Once problems 1 & 2 are fixed how can I exec the script so that the pilot isn't waiting for any specific amount of people? now if I put more people on board (movein command only
) the script won't begin and he'll do his valley touring thing again. if anyone would like the mission I can upload it but it requires queens gambit and it has nothing on it except civs, planes, markers and triggers.
Any help Mandoble (or anyone for that matter) would be much appreciated.