Zaifer Posted January 4, 2021 Posted January 4, 2021 Hi everyone! I'm trying to create a campaign that allows the player to pick from various airframes, however I can't find a way to have the mission end when the aircraft controlled by the client gets destroyed. I used UNIT DEAD, but as soon as the mission starts, the sim marks the client as dead and the mission ends 30 seconds later. I believe it's marking all the unoccupied aircraft as "dead" and that's why it ends the mission instantly. Does any of you guys know a way I can make this work?
toutenglisse Posted January 4, 2021 Posted January 4, 2021 Hi, you can use flags to mark the spawn of client in each possible airframe, then in your conditions to end the mission you add this flag being true (or equal to value in my exemple) to the death of client airframe (mission won't end if client has not spawned first before dying). Here a little exemple mission in caucasus with FC3 client slots (the client airframe you choose is automatically destroyed 5 sec after spawn to test end of mission trigger) test-exit-on-client-death.miz
ChuckIV Posted January 7, 2021 Posted January 7, 2021 Couple of ideas... 1. Try the trigger Unit NOT in Zone (create a large zone first) to end the mission 2. Try using cockpit gauges to trigger the end of mission - like mph, or fuel pressure, or rpm, etc. to end the mission 3. Maybe Unit Life less than 1% would also work. "Never in the field of human conflict was so much owed by so many to so few." Winston Churchill SYSTEM: Processor - Intel® Core i9-9900KF CPU @ 3.60GHz 3600MHz water-cooled Installed memory (RAM) - 32.0 GB 64-bit Operating System, x64-based processor Windows 10 & DCS on SSD Video Card - water-cooled NVIDIA GeForce RTX 2080 Ti Internet: Cable 200Mbps 12Mbps
Recommended Posts