Zeagle Posted April 3, 2020 Share Posted April 3, 2020 (edited) Trying to select a building and designate it as target for an air-to-mud mission. I right click and designate as a new trigger zone. Then I set a trigger if the zone is a "dead zone". However, I do not think the dead zone thing is working. Has anyone got it to work yet? EDIT I really don't know if this is a correct usage of "dead zone". I am just trying to figure out how to tell if a pre-existing structure is dead. Edited April 3, 2020 by Zeagle Link to comment Share on other sites More sharing options...
wraith70 Posted April 3, 2020 Share Posted April 3, 2020 This how I did it to detect a destroyed bridge. Uses MIST. 1. First load MIST 2. Create First Trigger Trigger: ONCE Condition: Time More with Value 4 -- Ensure enough time for MIST to load Actions: DO SCRIPT --Enter the code below: mist.flagFunc.mapobjs_dead_zones{ zones = {'Bridge11'}, flag = 1, req_num = 1 } For the above, substitute Bridge11 with your trigger zone name When the object in the trigger zone is dead, flag 1 is set to value 1 (req_num) 2. Next, setup another trigger to do something when the object in the zone is destroyed: Trigger: ONCE Condition: FLAG IS TRUE with value 1 Action: MESSAGE TO ALL with text "TARGET DESTROYED" (or anything you want to do) Hope this helps. Wraith Link to comment Share on other sites More sharing options...
Zeagle Posted April 4, 2020 Author Share Posted April 4, 2020 Thanks Wraith. I am trying to do this stuff without Mist or Moose. I am sure there is a way or soon will be a way. But if I have to I will bite the bullet and use one of those script libraries. Link to comment Share on other sites More sharing options...
SPS48A Posted July 2, 2020 Share Posted July 2, 2020 Any Update Did you get the "Dead Zone" trigger working? I am trying to do the same thing. Link to comment Share on other sites More sharing options...
Recommended Posts