TheTrooper Posted February 2, 2020 Posted February 2, 2020 Hi all. It there anyway that you can set up a hanger or building as an objective and create a trigger/flag if a hanger, building or runway has been destroyed? I'm talking about the in game buildings not static objects menu. ----------------------------------------------- Intel® Core™i7 Quad Core Processor i7-6700 (3.4GHz) 8MB Cache | 32GB HyperX FURY DDR4 2133MHz | MSI GeForce RTX 2070 ARMOR 8G |SSD 1TB 970 EVO Plus M.2
Pikey Posted February 2, 2020 Posted February 2, 2020 yeah you need an event handler and script. There's nothing in the mission editor to do this natively. An Event Handler will record the death of anything, but the limits of DCS prevent them being identified BEFORE you blow them up, so if you watch the video and use the script you have a bunch of tools to explode, find, get coords of and persist scenery states. It's clumsy because its DCS, not because I had a choice to do it any better. https://github.com/thebgpikester/SimpleScenerySaving ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
RubberDogSh1tOutOfHKG Posted March 14, 2021 Posted March 14, 2021 Hello Pikey! First off, great script you have produced there! Very easy to use. I want to trigger an event when a Runway is destroyed, I've been trying your script but it doesnt seem to be able to select a Runway? I can select buildings just fine. I would imagine it has something to do with the search radius of 3m? Where do you click on the runway? And on destruction of the object how do you then trigger your other events? I wish to activate some enemy AI Jets to fight me. Thank you very much for your help!
Recommended Posts