PhoenixTunes Posted February 23, 2018 Share Posted February 23, 2018 (edited) Hello everyone, I am looking for an algorithm created with either MIST or DCS' ingame LUA to kill a unit whenever it has landed and is damaged, or to return "True" whenever the crew of said aircraft has disembarked the aircraft/helicopter after emergency landing in order to activate a flag which will then explode the landed aircraft/helicopter in order to let an automatic respawn script do its work. This is what I have got so far: TRIGGERS: 3 SWITCHED CONDITION (Kill Landed Mi-24V 1) CONDITIONS: UNIT'S AGL ALTITUDE LOWER THAN (Hind 1, 15) UNIT'S SPEED LOWER THAN (Hind 1, 0.513) *I entered 1 knot and it showed as this :megalol: ) UNIT DAMAGED (Hind 1) ACTIONS: DO SCRIPT (trigger.action.explosion(Unit.getByName('Hind 1'):getPosition().p, 100)) Edited February 23, 2018 by PhoenixTunes spelling correction Link to comment Share on other sites More sharing options...
Recommended Posts